Answers for "c# filter duplicates from array"

C#
0

c# find duplicate

var list = new List<string>();

// Fill the list

if(list.Count != list.Distinct().Count())
{
     // Duplicates exist
}
Posted by: Guest on May-17-2020
0

c# remove duplicates from list

List<T> withDupes = LoadSomeData();
List<T> noDupes = withDupes.Distinct().ToList();
Posted by: Guest on November-04-2021

Code answers related to "c# filter duplicates from array"

C# Answers by Framework

Browse Popular Code Answers by Language