Mid LINQ

Get employees in List A but not in List B?

Get employees in List A but not in List B

var onlyInA = listA.Select(e => e.Id)

.Except(listB.Select(e => e.Id));

More from LINQ Tutorial

All questions for this course