UInt32.DivRem(UInt32, UInt32) Method
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.
public:
static ValueTuple<System::UInt32, System::UInt32> DivRem(System::UInt32 left, System::UInt32 right) = System::Numerics::IBinaryInteger<System::UInt32>::DivRem;
C#
public static(uint Quotient, uint Remainder) DivRem(uint left, uint right);
static member DivRem : uint32 * uint32 -> ValueTuple<uint32, uint32>
Public Shared Function DivRem (left As UInteger, right As UInteger) As ValueTuple(Of UInteger, UInteger)
- left
- UInt32
The value which right
divides.
- right
- UInt32
The value which divides left
.
The quotient and remainder of left
divided-by right
.
Product | Versions |
---|---|
.NET | 7, 8, 9 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: