UInt32.INumberBase<UInt32>.MaxMagnitude(UInt32, UInt32) Method

Definition

Compares two values to compute which is greater.

C#
static uint INumberBase<uint>.MaxMagnitude(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