static void Main(string[] args) { var numbers = new List<int>() { 10, 8, 4, 8 }; var unique = numbers.Distinct().ToList(); }