UInt16.DivRem(UInt16, UInt16) Method

Definition

Computes the quotient and remainder of two values.

public:
 static ValueTuple<System::UInt16, System::UInt16> DivRem(System::UInt16 left, System::UInt16 right) = System::Numerics::IBinaryInteger<System::UInt16>::DivRem;
public static (ushort Quotient, ushort Remainder) DivRem (ushort left, ushort right);
static member DivRem : uint16 * uint16 -> ValueTuple<uint16, uint16>
Public Shared Function DivRem (left As UShort, right As UShort) As ValueTuple(Of UShort, UShort)

Parameters

left
UInt16

The value which right divides.

right
UInt16

The value which divides left.

Returns

The quotient and remainder of left divided-by right.

Implements

Applies to