Linq的筛选、排序等几种用法(VS2010)

1.首先需要一个集合用来测试://定义一个集合要用的类:public class People{ public People(string name, string sex, int age,decimal height) { this.Name = name; this.Sex = sex; this.Age = age; this.Height = height; } public string Name { get; set; } public string Sex { get; set; } public int Age { get; set; } public decimal Hei
posted @ 2012-12-12 19:41  _YMW  阅读(4369)  评论(1编辑  收藏  举报