SampleClass.SumValues Method (IEnumerable(Int32))

Sandcastle XML Comments

Sandcastle XML Comments GuideSampleClassSumValues Method (IEnumerableInt32)
This is used to sum an enumerable list of values

Namespace: XMLCommentsExamples
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0
Syntax
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 

Parameters

values
Type: System.Collections.GenericIEnumerableInt32
The values to sum

Return Value

Type: Int32
The sum of the values
See Also