how to remove item from list with for loop c# code example Example: c# remove from list in foreach myList.RemoveAll(x => x.SomeProp == "SomeValue");