Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# linq foreach example

myList.Where(l => l.Name.ToSting().Equals("Fortune")).ToList().ForEach(x => x.salary += deductions);
Source by nullorempty.org #
 
PREVIOUS NEXT
Tagged: #linq #foreach
ADD COMMENT
Topic
Name
2+6 =