1. 取交集 List A :{1,5,9,3,7} List B:{1,6,8,5,3,2,9,4} var intersectedList = listA.Intersect(listB, newButtonsListEquality()); 结果:{1,3,9} 2.取连集 List A :{,,,} List B:{,,,,} var bingji = ListA.Union(ListB, new ButtonsListEquality()).ToList();//并(全)集 结果:{1