c# remove item from list inside a foreach code example Example: c# remove from list in foreach myList.RemoveAll(x => x.SomeProp == "SomeValue");