AlgorithmsReverseInPlaceT Method |
Reverses a list or array in place.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic static void ReverseInPlace<T>(
IList<T> list
)
public:
generic<typename T>
static void ReverseInPlace(
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
RemarksAlthough arrays cast to IList<T> are normally read-only, this method
will work correctly and modify an array passed as list.
See Also