Language Integrated Query (LINQ) Question:

Why Select clause comes after from clause in LINQ?

Tweet Share WhatsApp

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.

Download LINQ PDF Read All 35 LINQ Questions
Previous QuestionNext Question
What is the LINQ file extension that interacts with Code Behind objects.Difference between LINQ and Stored Procedures?