Posted On: Feb 22, 2018
The Select() and the SelectMany() are both used to produce result values form the sources of data. However, the difference is the result set. On the one hand, the select clause produces one result value for every source value, and the result value is the collection that contains the same number of elements from the query. On the other hand, the SelectMany() produces a single result that keeps a concatenated collection from the query.
Never Miss an Articles from us.
Language Integrated Query is the collection of standard query operators which adds query facilities into .NET framework..
The three main components of LINQ are:Standard Query Operators: These are the extension methods that form the LINQ p..
Select clause: the select clause selects the interesting aspects of the element by performing a projection on the col..