linq 使用first筛选出第一条数据
摘要:View Code staticvoidMain(string[]args){List<Person>personL=newList<Person>();personL.Add(newPerson("wtq","男","13616009873",23));personL.Add(newPerson("wta","女","13616009871",24));personL.Add(newPerson("wtb","男&quo
阅读全文
posted @
2011-07-30 16:54
wtq
阅读(7855)
推荐(0) 编辑
LInq 使用where过滤,匿名类型来查找想要的数据。
摘要:View Code staticvoidMain(string[]args){List<Person>personL=newList<Person>();personL.Add(newPerson("wtq","男","13616009873",23));personL.Add(newPerson("wta","女","13616009871",24));personL.Add(newPerson("wtb","男&quo
阅读全文
posted @
2011-07-30 16:15
wtq
阅读(870)
推荐(1) 编辑