liqn object list remove it if condition c# 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)