LINQ
文章平均质量分 81
allenlily
这个作者很懒,什么都没留下…
展开
-
LINQ to object
static void Main(string[] args) { int[] int_array = { 1, 8, 5, 9, 15, 20 }; var filtered = from value in int_array//注意是var,可以帮助我们减少很多麻烦 wh原创 2012-04-28 23:23:32 · 387 阅读 · 0 评论 -
LINQ to SQL
1.控制台static void Main(string[] args) { string dateDir = AppDomain.CurrentDomain.BaseDirectory; if (dateDir.EndsWith(@"\bin\Debug\") || dateDir.EndsWith(@"\bin\Debug\原创 2012-04-28 23:35:06 · 327 阅读 · 0 评论