How to get items that are and are not in a list
- by Chris
I have an IEnumerable, listOfOnes, and an IEnumerable, listOfTwos.
Assuming that I can compare objects of V against objects of T, I'd like to find which items are in listOfOnes but, not in listOfTwos. And vice versa.
ex:
var listOfOnes = new List<One>
{
new One
{
name = "chris",
…