1
Answer

Why select clause comes after from cluse?

Blessy Joy

Blessy Joy

15y
3.6k
1

I'm not sure if my question is stuid...
Please let me know i have just started linq
 
Thanks
Blessy
Answers (1)
0
Baimey Rajesh

Baimey Rajesh

NA 2.5k 128.3k 15y
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
Accepted
Next Recommended Forum