Horje
c# see if list contains any duplicates Code Example
c# see if list contains any duplicates
var list = new List<string>();

// Fill the list

if(list.Count != list.Distinct().Count())
{
     // Duplicates exist
}




Csharp

Related
c# find duplicate Code Example c# find duplicate Code Example
test how catch exception c# Code Example test how catch exception c# Code Example
unity input get axis Code Example unity input get axis Code Example
c# list declaration Code Example c# list declaration Code Example
how to look around with mouse in unity Code Example how to look around with mouse in unity Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9