Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# remove from list in foreach

myList.RemoveAll(x => x.SomeProp == "SomeValue");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #list #foreach
ADD COMMENT
Topic
Name
6+3 =