SyntaxFix
Write A Post
Hire A Developer
Questions
You can take both the collections in two different lists, say list1 and list2.
Then just write
list1.RemoveAll(Item => list2.Contains(Item));
This will work.