日期:2014-05-17 浏览次数:20508 次
string[] arr=new string[]{"a","b","c","a","d","a","b"}; string[] arrResult=new string[]{"a","b","c","d"};
string[] arrResult = arr.Distinct().ToArray(); ------解决方案--------------------