Answers for "c# find items in one list but not another"

1

find element in list not in another list c#

var result = peopleList2.Where(p => !peopleList1.Any(p2 => p2.ID == p.ID));
Posted by: Guest on April-13-2021

Code answers related to "c# find items in one list but not another"

Browse Popular Code Answers by Language