System.Collections.Generic.List<T>.Reverse Method
Reverses the order of the elements in the list.

Syntax

public void Reverse ()

Remarks

This method uses Array.Reverse(System.Array) to reverse the order of the elements.

This method is an O(n) operation, where n is List<T>.Count.

Requirements

Namespace: System.Collections.Generic
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0