Прочетете на английски Редактиране

Споделяне чрез


SByte.DivRem(SByte, SByte) Method

Definition

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.

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

Parameters

left
SByte

The value which right divides.

right
SByte

The value which divides left.

Returns

The quotient and remainder of left divided-by right.

Implements

Applies to

Продукт Версии
.NET 7, 8, 9, 10