Say that I have LINQ query such as:
var authors = from x in authorsList where x.firstname == \"Bob\" select x;
This is a very old question, but I found a really simple way to do this:
authorsList = authorsList.Except(authors).ToList();
Note that since the return variable authorsList is a List, the IEnumerable returned by Except() must be converted to a List.
authorsList
List
IEnumerable
Except()