Answers for "csharp count check for duplicates"

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

C# Answers by Framework

Browse Popular Code Answers by Language