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