from list a and b generate list c which is in list a but not in list b c# code example Example: c# list item not in another list var result = list1.Except(list2);