📅  最后修改于: 2022-03-11 14:48:48.298000             🧑  作者: Mango
代码示例1
var dict = new Dictionary();
if(dict.Values.Distinct().Count() == dict.Count)
{
Console.WriteLine("values are distinct");
}