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