DEV Community

manoj
manoj

Posted on

C# IEnumerables

IEnumerable:

OfType<TResult>(IEnumerable) - Filters the elements of an IEnumerable based on a specified type.

Concat<TSource>(IEnumerable<TSource>, IEnumerable<TSource>) - Concatenates two sequences.

GroupBy<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>) - Groups the elements of a sequence according to a specified key selector function.

Top comments (0)