how to remove item from list based on condition in c# linq code example Example: remove items from list c# condition prods.RemoveAll(s => s.ID == 1)