摘要: //从老集合中查询每一个元素d存入新集合 var list = from d in list_dog select d; //编译后会生成对应的标准查询运算符 linq是一种类似于sql 标准的语法糖 list = from d in list_dog where d.Gender==false se... 阅读全文
posted @ 2016-07-23 16:26 天下滋味 阅读(215) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LibraryLearn1 { public class Class1 { static List list_... 阅读全文
posted @ 2016-07-23 11:25 天下滋味 阅读(256) 评论(0) 推荐(0) 编辑