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();
}

相关文章: