Click or drag to resize
Sandcastle XML Comments GuideSampleClassAverageValues Method (IEnumerableDouble, IEnumerableDouble)
This is used to get the average of two enumerable list of values

Namespace: XMLCommentsExamples
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0
Syntax
public double AverageValues(
	IEnumerable<double> firstValues,
	IEnumerable<double> secondValues
)

Parameters

firstValues
Type: System.Collections.GenericIEnumerableDouble
The first set of values to average
secondValues
Type: System.Collections.GenericIEnumerableDouble
The second set of values to average

Return Value

Type: Double
The average of the values from both enumerable lists
See Also