InterviewSolution
| 1. |
What is Select() and SelectMany() in LINQ? |
|
Answer» In LINQ, Select() and SelectMany() are projection OPERATORS. The use of a Select() OPERATOR is to select a value from a collection whereas the use of SelectMany() operator is to select values from a GROUP of collection, i.e. a nested collection. Examplepublic class PhoneNumber |
|