SampleClassSumValues(IEnumerableInt32) Method
This is used to sum an enumerable list of values
Namespace: XMLCommentsExamplesAssembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0
public int SumValues(
IEnumerable<int> values
)
Public Function SumValues (
values As IEnumerable(Of Integer)
) As Integer
public:
int SumValues(
IEnumerable<int>^ values
)
member SumValues :
values : IEnumerable<int> -> int
- values IEnumerableInt32
- The values to sum
Int32The sum of the values