I have a very long list of Ids (integers) that represents all the items that are currently in my database:
var idList = GetAllIds();
I also hav
Transform temporarily idList to an HashSet and use the same method i.e.:
idList
HashSet
items.RemoveAll(e => idListHash.Contains(e.Id));
it should be much faster