Click or drag to resize
AlgorithmsReverseInPlaceT Method
Reverses a list or array in place.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public static void ReverseInPlace<T>(
	IList<T> list
)

Parameters

list
Type: System.Collections.GenericIListT
The list or array to reverse.

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:X3Platform.Collections.Algorithms.ReverseInPlace``1(System.Collections.Generic.IList{``0})"]

Exceptions
ExceptionCondition
ArgumentNullExceptionlist is null.
ArgumentExceptionlist is read only.
Remarks
Although arrays cast to IList<T> are normally read-only, this method will work correctly and modify an array passed as list.
See Also