list with except code example Example: linq c# object except two lists var filtered = unfilteredApps.Where(i => !excludedAppIds.Contains(i.Id));