TEnumerable.ToLookup<T,TKey>(IEnumerable<T>,TFunc) Method
Represents method ToLookup<T,TKey>(IEnumerable<T>,TFunc)
.
public class function ToLookup<T, TKey>(const source: IEnumerable<T>; const keySelector: TFunc<T, TKey>): ILookup<TKey, T>; overload; static;
Type Parameters
- T
- TKey
Parameters
- source
- Type: IEnumerable<T>
- keySelector
- Type: TFunc<T, TKey>