Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# calculate sum of list

double total = myList.Sum(item => item.Amount);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #calculate #sum #list
ADD COMMENT
Topic
Name
4+8 =