Click or drag to resize
AlgorithmsReverseT Method
Reverses a list and returns the reversed list, without changing the source list.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public static IEnumerable<T> Reverse<T>(
	IList<T> source
)

Parameters

source
Type: System.Collections.GenericIListT
The list to reverse.

Type Parameters

T

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

Return Value

Type: IEnumerableT
A collection that contains the items from source in reverse order.
Exceptions
ExceptionCondition
ArgumentNullExceptionsource is null.
See Also