Normally you do something like:
IEnumerable<LeverPosting> postings = ...
IEnumerable<string> idsalreadyProcessedIds = ...
var idsalreadyProcessedIds2 = new HashSet<string>(idsalreadyProcessedIds);
var postings2 = postings.Where(x => !idsalreadyProcessedIds2.Contains(x.Id)));
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…