UInt16.DivRem(UInt16, UInt16) 方法

定义

计算两个值的商和余数。

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)

参数

left
UInt16

除法的值 right

right
UInt16

除以 left的值。

返回

除以 rightleft商和余数。

实现

适用于