Int64.INumber<Int64>.MaxNumber(Int64, Int64) Method

Definition

Compares two values to compute which is greater and returning the other value if an input is NaN.

C#
static long INumber<long>.MaxNumber(long x, long y);

Parameters

x
Int64

The value to compare with y.

y
Int64

The value to compare with x.

Returns

x if it is greater than y; otherwise, y.

Implements

Applies to

Proizvod Verzije
.NET 7, 8, 9, 10