0
linq에서 중첩 그룹의 예제를 발견했습니다. group by
을 하나 더 추가하려면 어떻게됩니까?linq에서 3 중첩 된 그룹을 수행하는 방법
var queryNestedGroups =
from student in students
group student by student.Year into newGroup1
from newGroup2 in
(from student in newGroup1
group student by student.LastName)
group newGroup2 by newGroup1.Key;