Léigh i mBéarla Cuir in eagar

Comhroinn trí


Int32.DivRem(Int32, Int32) Method

Definition

Computes the quotient and remainder of two values.

C#
public static(int Quotient, int Remainder) DivRem(int left, int right);

Parameters

left
Int32

The value which right divides.

right
Int32

The value which divides left.

Returns

The quotient and remainder of left divided-by right.

Implements

Applies to

Táirge Leaganacha
.NET 7, 8, 9, 10