TEnumerable.GroupBy<T,TKey>(IEnumerable<T>,TFunc) Method

Represents method GroupBy<T,TKey>(IEnumerable<T>,TFunc).

Namespace: Spring.Collections
public
 class function GroupBy<T, TKey>(const source: IEnumerable<T>;
 const keySelector: TFunc<T, TKey>): IEnumerable<IGrouping<TKey,T>>; overload; static;

Type Parameters

T
TKey

Parameters

source
Type: IEnumerable<T>

keySelector
Type: TFunc<T, TKey>

Return Value

Type: IEnumerable<IGrouping<TKey,T>>