C# 判断List集合中是否有重复的项时间:2022-09-03 17:43:31 /*在.Net 3.5 以上*/ bool HaveDuplicates = vList.GroupBy(i => i).Where(g => g.Count() > 1).Count() >= 1;