We have already used the 'into' keyword in grouping. You can also use the 'into' keyword to continue a query after a select clause.
var teenAgerStudents = from s in studentList where s.age > 12 && s.age < 20 select s into teenStudents where teenStudents.StudentName.StartsWith("B") select/span> teenStudents;
In the above query, the 'into' keyword introduced a new range variable teenStudents, so the first range variable s goes out of scope. You can write a further query after the into keyword using a new range variable.
The 'into' keyword in VB.Net used for grouping purposes.
Dim groupQuery = From s In studentList Group By s.Age Into Group