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

Definition

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

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

Parameters

x
UInt64

The value to compare with y.

y
UInt64

The value to compare with x.

Returns

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

Implements

Applies to

Product Versions
.NET 7, 8, 9