Check out example codes for "remove from list based on condition c#". 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