This topic has not yet been rated - Rate this topic

Enumerable.OrderByDescending Method

April 12, 2014

Sorts the elements of a sequence in descending order.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Static member OrderByDescending<TSource, TKey>(IEnumerable<TSource>, Func<TSource, TKey>) Sorts the elements of a sequence in descending order according to a key.
Public method Static member OrderByDescending<TSource, TKey>(IEnumerable<TSource>, Func<TSource, TKey>, IComparer<TKey>) Sorts the elements of a sequence in descending order by using a specified comparer.
Top

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.