UInt64.DivRem(UInt64, UInt64) Method

Definition

Computes the quotient and remainder of two values.

public:
 static ValueTuple<System::UInt64, System::UInt64> DivRem(System::UInt64 left, System::UInt64 right) = System::Numerics::IBinaryInteger<System::UInt64>::DivRem;
public static (ulong Quotient, ulong Remainder) DivRem (ulong left, ulong right);
static member DivRem : uint64 * uint64 -> ValueTuple<uint64, uint64>
Public Shared Function DivRem (left As ULong, right As ULong) As ValueTuple(Of ULong, ULong)

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