Click or drag to resize
MathMax Method (Int64, Int64)
Returns the larger of two 64-bit signed integers.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static long Max(
	long val1,
	long val2
)

Parameters

val1
Type: SystemInt64
The first of two 64-bit signed integers to compare.
val2
Type: SystemInt64
The second of two 64-bit signed integers to compare.

Return Value

Type: Int64
Parameter val1 or val2, whichever is larger.
See Also