vbnet remove items from array by condition code example
Example 1: remove items from list c# condition
prods.RemoveAll(s => s.ID == 1)
Example 2: remove from list based on condition c#
List<Int32> prods = GetListFromSever();
prods.RemoveAll(s => s.ID == 1)