GroupBy Method (IndexedQueryExtensions)
In This Topic
Groups the elements of a collection according to a specified key selector function and creates a result value from each group and its key. The elements of each group are projected by using a specified function.
Overload List
Overload | Description |
GroupBy<TSource,TKey,TElement,TResult>(IIndexedSource<TSource>,Expression<Func<TSource,TKey>>,Expression<Func<TSource,TElement>>,Expression<Func<TKey,IEnumerable<TElement>,TResult>>) | Groups the elements of a collection according to a specified key selector function and creates a result value from each group and its key. The elements of each group are projected by using a specified function. |
GroupBy<TSource,TKey,TElement>(IIndexedSource<TSource>,Expression<Func<TSource,TKey>>,Expression<Func<TSource,TElement>>) | Groups the elements of a collection according to a specified key selector function and projects the elements for each group by using a specified function. |
GroupBy<TSource,TKey,TResult>(IIndexedSource<TSource>,Expression<Func<TSource,TKey>>,Expression<Func<TKey,IEnumerable<TSource>,TResult>>) | Groups the elements of a collection according to a specified key selector function and creates a result value from each group and its key. |
GroupBy<TSource,TKey>(IIndexedSource<TSource>,Expression<Func<TSource,TKey>>) | Groups the elements of a collection according to a specified key selector function. |
See Also