List
To achieve a C, a, b, C, d, e, f
How to implement?
CodePudding user response:
BaiduLinq and difference and complement
Do it again, all the 4 90% of the things you can do
The remaining 10% is left connection, connection (cartesian), selectmany this
CodePudding user response:
C # Linq intersection and set, difference set to heavyList
List
List
ListResult=ListA. Distinct (.) ToList ();//to heavy
ListResult=ListA. Except (by). ToList ();//difference set
ListResult=ListA. Union (by). ToList ();//and set
ListResult=ListA. Intersects (by). ToList ();//intersection
CodePudding user response:
Diy, than ask who I useful