List
摘要:
List<XueDa.Model.NewsSoft> SoftList = (from p in keys where p.CityID == (model.CityID.ToString() == "" ? 49 : model.CityID) select p).ToList();//查找字符串中包含saurus的字符,利用了委托匿名方法(第一种方式) List<string> listFind = list.FindAll(delegate(string s){ return s.Contains("saurus"); }) 阅读全文
posted @ 2013-05-10 14:10 hbgdluck 阅读(228) 评论(0) 推荐(0) 编辑