SampleClassSumValues(IEnumerableInt32, IEnumerableInt32) Method

This is used to sum two enumerable list of values

Definition

Namespace: XMLCommentsExamples
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0
public int SumValues(
	IEnumerable<int> firstValues,
	IEnumerable<int> secondValues
)

Parameters

firstValues  IEnumerableInt32
The first set of values to sum
secondValues  IEnumerableInt32
The second set of values to sum

Return Value

Int32
The sum of the values from both enumerable lists

See Also