Returns the highest value among the list of values.

Namespace:  RightEdge.Common
Assembly:  Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)

Syntax

C#
public static double HighestValue(
	IList<double> values,
	int start,
	int length
)
Visual Basic (Declaration)
Public Shared Function HighestValue ( _
	values As IList(Of Double), _
	start As Integer, _
	length As Integer _
) As Double
Visual C++
public:
static double HighestValue(
	IList<double>^ values, 
	int start, 
	int length
)

Parameters

values
Type: System.Collections.Generic..::.IList<(Of <(Double>)>)
The list of double values to analyze.
start
Type: System..::.Int32
The index in the list in which to start the analysis.
length
Type: System..::.Int32
The length or number of values to analyze before completing.

Return Value

The highest double value in the list.

See Also