Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: ListSelectIterator<TInput, TResult> Reverse()

Declaration

public ListSelectIterator<TInput, TResult> Reverse()

Summary

Inverts the order of the elements in a sequence.

Returns

A list whose elements correspond to those of the input sequence in reverse order.

Remarks

This method replaces Enumerable.Reverse<TM1>(IEnumerable<TM1>) for the case where the input is an IList<T> with an implementation that makes a subsequent ToArray() or ToList() run 15% faster.