🌈 搜索
📅  最后修改于: 2022-03-11 14:48:54.584000             🧑  作者: Mango
var list = new List(); // Fill the list if(list.Count != list.Distinct().Count()) { // Duplicates exist }