使用Lambda表达式获取班级所有学生的姓名,并去除重名,下列语法正确的是()A.studentList.Se...
A.studentList.Select(StudentName.Distinct())
B.studentList.Select(StudentName).Distinct()
C.studentList.Select(t =>t.StudentName.Distinct())
D.studentList.Select(t =>t.StudentName).Distinct()