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