Click or drag to resize
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
)

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