I am trying to find the difference between two generic lists, as in the example below. Even though t1 and t2 contain the same properties, they are not the same object, so I
You could try something like:
var differences = list2.Where(l2 => !list1.Any(l1 => l1.Name == l2.Name && l1.Size == l2.Size));
Or if you prefer:
var differences = list2.Where(l2 => list1.All(l1 => l1.Name != l2.Name || l1.Size != l2.Size));