[]
        
(Showing Draft Content)

C1.LiveLinq.Ordering-1.ThenBy

ThenBy Method

ThenBy<TKey>(Expression<Func<T, TKey>>)

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

Declaration
public Ordering<T> ThenBy<TKey>(Expression<Func<T, TKey>> keySelector)
Parameters
Type Name Description
Expression<Func<T, TKey>> keySelector

A function to extract a key from each element.

Returns
Type Description
Ordering<T>

A collection whose elements are sorted according to a key.

Type Parameters
Name Description
TKey

The type of the key returned by keySelector.