c# check if value in dictionary are unique
var dict = new Dictionary<string, int>();
if(dict.Values.Distinct().Count() == dict.Count)
{
Console.WriteLine("values are distinct");
}
Are there any code examples left?
New code examples in category C#