Check out example codes for "remove items from list c# condition". It will help you in understanding the concepts better.
Code Example 1
prods.RemoveAll(s => s.ID == 1)
Code Example 2
List<Int32> prods = GetListFromSever();
prods.RemoveAll(s => s.ID == 1)
Learn ReactJs, React Native from akashmittal.com