Max(T) Method (T, T, T)

Project Mercury API

[This is preliminary documentation and is subject to change.]

Returns the greater of three values.

Namespace:  ProjectMercury
Assembly:  ProjectMercury (in ProjectMercury.dll) Version: 3.1.0.0

Syntax

C#
public static T Max<T>(
	T value1,
	T value2,
	T value3
)
where T : IComparable<T>
Visual Basic (Declaration)
Public Shared Function Max(Of T As IComparable(Of T)) ( _
	value1 As T, _
	value2 As T, _
	value3 As T _
) As T
Visual C++
public:
generic<typename T>
where T : IComparable<T>
static T Max(
	T value1, 
	T value2, 
	T value3
)

Parameters

value1
Type: T
Source value.
value2
Type: T
Source value.
value3
Type: T
Source value.

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:ProjectMercury.Calculator.Max``1(``0,``0,``0)"]

Return Value

The greater value, or value1 if the values are equal.

See Also