LINQ SelectMany Operator

SelectMany operator is used when we have a sequence of objects which has a collection property and we need to enumerate each item of child collection one by one. SelectMany operator comes under Projection operators category of LINQ Query Operators. Below is the syntax of SelectMany operator public static IEnumerable<TResult> SelectMany<TSource, TResult>(this IEnumerable<...

Continue Reading