Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

list sum c#

int total = monValues.Sum(x => Convert.ToInt32(x));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #list #sum
ADD COMMENT
Topic
Name
6+4 =