会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
YYRise
博客园
首页
新随笔
联系
订阅
管理
07 2015 档案
c#比较两个List相等
摘要:1、if(ListA.Count == ListB.Count && ListA.Count(t => !ListB.Contains(t)) == 0) 数量相等,元素值相等即为True;与元素顺序无关; List<int> A = new List<int> {1,2,3}; List<int>
阅读全文
posted @
2015-07-19 00:42
YYRise
阅读(12084)
评论(5)
推荐(0)
公告