Home > DeveloperSection > Interviews > Why select clause comes after from clause?

Posted on    July-26-2011 9:46 AM

 C# C# 
 1 Answer(s)
  1859  View(s)
Rate this:

Awadhendra Tiwari

Total Post:510

Posted on    July-26-2011 12:00 AM

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.

Don't want to miss updates? Please click the below button!

Follow MindStick