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

Definition

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

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

Parameters

x
UInt32

The value to compare with y.

y
UInt32

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