Explain why select clause comes after from clause in linq?
Answer Posted / Amit Singh
The reason the 'select' clause comes after the 'from' clause in LINQ is that the 'from' clause generates a sequence (an IEnumerable), and the 'select' clause projects this sequence into a new form. The 'where', 'orderby', etc., clauses operate on the initial sequence before it's projected.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category