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

Definition

Divides two values together to compute their modulus or remainder.

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

Parameters

left
Int64

The value that right divides.

right
Int64

The value that divides left.

Returns

The modulus or remainder of left divided by right.

Implements

Applies to

Product Versions
.NET 7, 8, 9, 10