List<string> emailList = new List<string>();
try
{
emailList.AddRange(strList);//增加到List中
List<string> emailList2 = emailList.Distinct(new Comparint<string>(
delegate(string x, string y)
{
if (null != x && null != y)
return x.GetHashCode() == y.GetHashCode();
return false;
}
)).ToList();
}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-01
  • 2022-12-23
  • 2021-08-03
  • 2022-02-18
  • 2021-11-22
  • 2022-12-23
猜你喜欢
  • 2021-12-26
  • 2021-10-03
  • 2022-12-23
  • 2022-12-23
  • 2021-06-22
  • 2022-12-23
  • 2021-09-13
相关资源
相似解决方案