Byte.DivRem(Byte, Byte) Method

Definition

Computes the quotient and remainder of two values.

public static (byte Quotient, byte Remainder) DivRem (byte left, byte right);

Parameters

left
Byte

The value which right divides.

right
Byte

The value which divides left.

Returns

The quotient and remainder of left divided-by right.

Implements

Applies to

Product Versions
.NET 7, 8, 9