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