Why Select clause comes after from clause in LINQ?

 Posted by Virendradugar on 12/6/2009 | Category: LINQ Interview questions | Views: 10980

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.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response