Returns the larger of two Int128 values.

Namespace: SharpAssembler.Core
Assembly: SharpAssembler Core (in SharpAssembler Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static Int128 Max(
	Int128 left,
	Int128 right
)
Visual Basic
Public Shared Function Max ( _
	left As Int128, _
	right As Int128 _
) As Int128
Visual C++
public:
static Int128 Max(
	Int128 left, 
	Int128 right
)

Parameters

left
Type: SharpAssembler.Core..::..Int128
The first value to compare.
right
Type: SharpAssembler.Core..::..Int128
The second value to compare.

Return Value

The left or right parameter, whichever is larger.

Contracts

Ensures
Contract.Result<Int128>() >= left
Contract.Result<Int128>() >= right

See Also