Int32.IModulusOperators<Int32,Int32,Int32>.Modulus(Int32, Int32) Operator

Definition

Divides two values together to compute their modulus or remainder.

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

Parameters

left
Int32

The value that right divides.

right
Int32

The value that divides left.

Returns

The modulus or remainder of left divided by right.

Implements

Applies to

Product Versions
.NET 7, 8, 9