What is the output of the following query?

var query = from student in students
group student by student.Last[0];

 Posted by Kmandapalli on 1/22/2014 | Category: LINQ Interview questions | Views: 1684 | Points: 40
Answer:

In this students in a table name and student is the alias name given to it.
This query is used for grouping the students based on the first letter of their LastName.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response