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

Definition

Compares two values to compute which is greater.

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