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

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

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

Type Parameters

T
TKey
TElement

Parameters

source
Type: IEnumerable<T>

keySelector
Type: TFunc<T, TKey>

elementSelector
Type: TFunc<T, TElement>

Return Value

Type: IEnumerable<IGrouping<TKey,TElement>>