摘要: 1 基本语法 IEnumerable<int> scoreQuery = from score in scores where score > 80 select score;2 分组var queryGroupByAverages = from student in students group new { student.FirstName, student.LastName } by student.ExamScores.Average() > 75 into studentGroup select studentGroup;3 分组子查询 var queryGr 阅读全文
posted @ 2011-07-19 15:58 无法更新的~ 阅读(239) 评论(0) 推荐(0) 编辑