-
Notifications
You must be signed in to change notification settings - Fork 26
Reverse
Eugene Sadovoi edited this page Jul 7, 2016
·
1 revision
Inverts the order of the elements in a sequence.
Reverse()
A sequence whose elements correspond to those of the input sequence in reverse order.
This method is implemented by using deferred execution. The immediate return value is an object that stores all the information that is required to perform the action. The query represented by this method is not executed until the object is enumerated.
Unlike OrderBy, this sorting method does not consider the actual values themselves in determining the order. Rather, it just returns the elements in the reverse order from which they are produced by the underlying source.