csharp get all items on list from other list
Code Example - csharp get all items on list from other list
var result = peopleList2.Where(p => peopleList1.All(p2 => p2.ID != p.ID));
var result = peopleList2.Where(p => peopleList1.All(p2 => p2.ID != p.ID));