Sequence Reverse TSource  Method A Sandcastle Documented Class Library
Inverts the order of the elements in a sequence. If the source sequence represents an infinite set or series, this will never return!

Namespace: Sequences
Assembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax
public static ISequence<TSource> Reverse<TSource>(
	this ISequence<TSource> source
)

Parameters

source
Type: Sequences ISequence TSource 
A sequence of values to reverse.
Type Parameters
TSource
The type of the elements of source.

Return Value

Type: ISequence TSource 
A sequence whose elements correspond to those of the input sequence in reverse order.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ISequence TSource . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also