Language Integrated Query (LINQ) Question:
Why Select clause comes after from clause in LINQ?
Answer:
The reason is, LINQ is used with C# or other programming languages, which requires all the variables to be declared first. From clause of LINQ query just defines the range or conditions to select records. So that’s why from clause must appear before Select in LINQ.
Previous Question | Next Question |
What is the LINQ file extension that interacts with Code Behind objects. | Difference between LINQ and Stored Procedures? |