Distinct

suggest change
var numbers = new[] {1, 1, 2, 2, 3, 3, 4, 4, 5, 5};
var distinctNumbers = numbers.Distinct();

Console.WriteLine(string.Join(",", distinctNumbers));

//1,2,3,4,5

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents