单项选择题
A.studentList.Max(t =>t.ScoreValue)B.studentList.Max(ScoreValue)C.studentList.Sum(t =>t.ScoreValue)D.studentList.Sum(ScoreValue)
使用Lambda表达式对班级所有成绩求平均分,下列语法正确的是()A.scoreList.Count(t =>...
单项选择题使用Lambda表达式对班级所有成绩求平均分,下列语法正确的是()
A.scoreList.Count(t =>t.ScoreValue)B.scoreList.Count(ScoreValue)C.scoreList.Average(t =>t.ScoreValue)D.scoreList.Average(ScoreValue)
使用Lambda表达式可以查询出班级成绩在80分以上的人数,下列语法正确的是()A.studentList.C...
单项选择题使用Lambda表达式可以查询出班级成绩在80分以上的人数,下列语法正确的是()
A.studentList.Count(t =>t.ScoreValue >=80)B.studentList.Count(ScoreValue >=80)C.studentList.GroupBy(t =>t.ScoreValue >=80)D.studentList.GroupBy(ScoreValue >=80)
使用Lambda表达式查询出班级编号为1001的班级的所有同学()A.studentList.Where(t ...
单项选择题使用Lambda表达式查询出班级编号为1001的班级的所有同学()
A.studentList.Where(t =>t.ClassCode =="1001")B.studentList.When(t =>t.ClassCode =="1001")C.studentList.Where(ClassCode =>"1001")D.studentList.When(ClassCode =>"1001")