摘要:
//去重复方法一private ArrayList RemoveDuplicateNum(ArrayList list){list.Sort();for (int i = 0; i < list.Count - 1; i++){if (list[i].Equals(list[i + 1])){list.RemoveAt(i);//去重复项i--;}}return list;}//去重复方法二private ArrayList RemoveSame(ArrayList list){//上面写的那句是多余的,这个是最终的for (int i = 0; i < list.Count - 阅读全文