SampleClass.SumValues Method (IEnumerable(Int32), IEnumerable(Int32))

Sandcastle XML Comments

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

Namespace: XMLCommentsExamples
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0
Syntax
public int SumValues(
	IEnumerable<int> firstValues,
	IEnumerable<int> secondValues
)
Public Function SumValues ( 
	firstValues As IEnumerable(Of Integer),
	secondValues As IEnumerable(Of Integer)
) As Integer
public:
int SumValues(
	IEnumerable<int>^ firstValues, 
	IEnumerable<int>^ secondValues
)
member SumValues : 
        firstValues : IEnumerable<int> * 
        secondValues : IEnumerable<int> -> int 

Parameters

firstValues
Type: System.Collections.GenericIEnumerableInt32
The first set of values to sum
secondValues
Type: System.Collections.GenericIEnumerableInt32
The second set of values to sum

Return Value

Type: Int32
The sum of the values from both enumerable lists
See Also