2014年9月2日

List<T>取交集、差集、并集

摘要: 1. 取交集 (A和B都有)List A : { 1 , 2 , 3 , 5 , 9 }List B : { 4 , 3 , 9 }var intersectedList = list1.Intersect(list2);结果 : { 3 , 9 }判断A和B是否有交集 bool isInterse... 阅读全文

posted @ 2014-09-02 15:45 魔GUI 阅读(396) 评论(0) 推荐(0) 编辑

导航