Ler em inglês

Compartilhar via


Int16.DivRem(Int16, Int16) Método

Definição

Calcula o quociente e o restante de dois valores.

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

Parâmetros

left
Int16

O valor que right divide.

right
Int16

O valor que divide left.

Retornos

O quociente e o restante de left dividido por right.

Implementações

Aplica-se a

Produto Versões
.NET 7, 8, 9, 10