How to find elements present in the first but not in the second?
How to find elements present in the first but not in the second
list?
var except = list1.Except(list2);
foreach (var name in except)
Follow :
Console.WriteLine(name); // Output: Alice, Charlie