when c# RemoveAll introduced code example
Example: remove from list based on condition c#
List<Int32> prods = GetListFromSever();
prods.RemoveAll(s => s.ID == 1)
List<Int32> prods = GetListFromSever();
prods.RemoveAll(s => s.ID == 1)