Edit

Share via


UInt64.DivRem(UInt64, UInt64) Method

Definition

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