Linq学习
logo616
这个作者很懒,什么都没留下…
展开
-
LINQ标准查询操作符
1.投影操作符:将序列中的元素转换为一个由开发人员定义的形式的操作。Select :对单个序列或集合中的值进行投影。 string[] Devices = { "电视", "电冰箱", "洗衣机", "电话", "微波炉" };var SelectDevices1 = from device in Devicesselect device;// var SelectDevices = Devices.Select(device=>device);foreach (string dev in SelectDe转载 2010-12-08 09:55:00 · 775 阅读 · 0 评论 -
LINQ To XML 入门(3)
Some Common Operations using LINQ To XML - Part III In this article, we will explore some common ‘How Do I’ kind of examples using LINQ to XML. This article is the final part of our 3-part LINQ to XML series. I assume you are familiar with LINQ. If not, yo转载 2010-11-19 14:34:00 · 1047 阅读 · 1 评论 -
LINQ To XML 入门(2)
Some Common Operations using LINQ To XML - Part II In this article, we will explore some common ‘How Do I’ kind of examples using LINQ to XML. This article is the Part II of the 3-part LINQ to XML series. I hope you have read the previous article Some Comm转载 2010-11-19 14:31:00 · 664 阅读 · 0 评论 -
LINQ To XML 入门(1)
LINQ To XML 入门(1)转载 2010-11-19 14:27:00 · 1169 阅读 · 0 评论