Int64.DivRem(Int64, Int64) Method

Definition

Computes the quotient and remainder of two values.

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

Parameters

left
Int64

The value which right divides.

right
Int64

The value which divides left.

Returns

The quotient and remainder of left divided-by right.

Implements

Applies to

Proizvod Verzije
.NET 7, 8, 9, 10