摘要:
今天写代码时,需要对一个数组对象中按一定规则合并、去重处理,不想再毫无新意手动写For循环遍历(天天写一样的代码很没劲),于是依旧linq,发现真心方便:using System;using System.Collections.Generic;using System.Linq;namespace LinqTest{ class Program { static void Main() { List<Product> listProduct = new List<Product> { new ... 阅读全文
posted @ 2012-12-18 13:57
菩提树下的杨过
阅读(27421)
评论(3)
推荐(6)
浙公网安备 33010602011771号