2013年8月2日
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2013-08-02 23:04 fery 阅读(3) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2013-08-02 22:23 fery 阅读(0) 评论(0) 推荐(0) 编辑
摘要: List outputList = resultList.Distinct(new Compare((x, y) => (null != x && null != y) && (x == y))).ToList();//去除重复项#region 泛型类扩展 public delegate bool EqualsComparer(T x, T y); public class Compare : IEqualityComparer { private EqualsComparer _equalsComparer; public Compare(EqualsC 阅读全文
posted @ 2013-08-02 22:17 fery 阅读(165) 评论(0) 推荐(0) 编辑