How can I SUM values in a collection
What is the collection type?
If it is a list then
int sum = lstNumbers.Sum
The type is a list, i try your solution and its works
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.