摘要:
List<Student> stuList;(这个里面假设已经有值了,Student 里面有ID,Name)ConvertAll:List<string> strNameList = stuList.ConvertAll(p=>p.Name).ToList();//这样就将Student中的名字取出来了。FindAll:List<Student> stuList1 = stulist.FindAll(p=>p.Name = "");ForEach:List<Student> stuList1 = stulist.F 阅读全文