Answers for "find element in list not in another list c#"

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
0

c# list item not in another list

var result = list1.Except(list2);
Posted by: Guest on September-04-2020

Code answers related to "find element in list not in another list c#"

Browse Popular Code Answers by Language