Queryable.ThenBy Method

 

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

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticThenBy<TSource, TKey>(IOrderedQueryable<TSource>, Expression<Func<TSource, TKey>>)

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

System_CAPS_pubmethodSystem_CAPS_staticThenBy<TSource, TKey>(IOrderedQueryable<TSource>, Expression<Func<TSource, TKey>>, IComparer<TKey>)

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

Return to top
Show: