Explain why select clause comes after from clause in linq?
Answer / 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 |
What is "linq to objects"?
What is the difference between N-layer and N-tier architecture?
How to use Having in LINQ?
What is linq in ado net?
Why do we use “contains"? Method for strings type functions?
What are lazy/deferred loading and eager loading?
How to return iqueryable from linq query?
What are the three main components of linq or language integrated query?
Explain how you can assign a lambda expression to a delegate?
What is linq in c# with example?
What are the different implementations of LINQ?
What are advantages of LINQ?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)