Removes duplicate elements from a list.
using UtilityLibrary.Core; using System.Collections.Generic; List<int> list = new List<int> { 1, 2, 3, 3, 4, 5, 5, 5 }; list.RemoveDuplicates(); // Result: list = [1, 2, 3, 4, 5]
There was an error while loading. Please reload this page.