该文被密码保护。 阅读全文
摘要:
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 阅读全文