Edit

Share via


UInt64.DivRem(UInt64, UInt64) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Computes the quotient and remainder of two values.

C#
public static(ulong Quotient, ulong Remainder) DivRem(ulong left, ulong right);

Parameters

left
UInt64

The value which right divides.

right
UInt64

The value which divides left.

Returns

The quotient and remainder of left divided-by right.

Implements

Applies to

Product Versions
.NET 7, 8, 9, 10