Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

remove from list based on condition c#

List<Int32> prods = GetListFromSever();
prods.RemoveAll(s => s.ID == 1)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #list #based #condition
ADD COMMENT
Topic
Name
3+3 =