remove from list if contains c# code example Example: remove items from list c# condition prods.RemoveAll(s => s.ID == 1)