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

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


UInt16.IModulusOperators<UInt16,UInt16,UInt16>.Modulus Operator

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.

Divides two values together to compute their modulus or remainder.

C#
static ushort IModulusOperators<ushort,ushort,ushort>.operator %(ushort left, ushort right);

Parameters

left
UInt16

The value that right divides.

right
UInt16

The value that divides left.

Returns

The modulus or remainder of left divided by right.

Implements

Applies to

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