Enumerable.ThenByDescending Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Performs a subsequent ordering of the elements in a sequence in descending order.

Namespace:   System.Linq
Assembly:  System.Core (in System.Core.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticThenByDescending<TSource, TKey>(IOrderedEnumerable<TSource>, Func<TSource, TKey>)

Performs a subsequent ordering of the elements in a sequence in descending order, according to a key.

System_CAPS_pubmethodSystem_CAPS_staticThenByDescending<TSource, TKey>(IOrderedEnumerable<TSource>, Func<TSource, TKey>, IComparer<TKey>)

Performs a subsequent ordering of the elements in a sequence in descending order by using a specified comparer.

Return to top
Show: