check for element in a list not in another list c# code example Example: c# list item not in another list var result = list1.Except(list2);