Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

set field in list linq

collection.ToList().ForEach(c => c.PropertyToSet = value);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #set #field #list #linq
ADD COMMENT
Topic
Name
4+6 =