List<int> OLd = new List<int>() { 1, 1, 1, 1, 1, 1, 1, 2, 2 };
List<int> New = new List<int>() { 1, 2 };
List <int> OLd = new List<int>() { 1, 1, 1, 1, 1, 1, 1, 2, 2 }; List<int> New = OLd.Distinct().ToList();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)