标签:判断 post div .net count count() body pos nbsp
/*在.Net 3.5 以上*/ bool HaveDuplicates = vList.GroupBy(i => i).Where(g => g.Count() > 1).Count() >= 1;
C# 判断List集合中是否有重复的项
原文地址:http://www.cnblogs.com/ouylvr0625/p/8087177.html