This question has already been answered:

There are two Object lists. They can either be completely the same between them, or the second list may contain part of objects other than the first list. The task is to create a third list, excluding from the second list the elements that are in the first.

Reported as a duplicate by Grundy members, Community Spirit Feb 21 '17 at 13:27 .

A similar question was asked earlier and an answer has already been received. If the answers provided are not exhaustive, please ask a new question .

  • 2
    in such cases, initially it would be better to use HashSet - Qutrix

1 answer 1

Use the Except method

var list3 = list2.Except(list1).ToList();