BigInteger::Remainder Method (BigInteger, BigInteger)
.NET Framework (current version)
Performs integer division on two BigInteger values and returns the remainder.
Assembly: System.Numerics (in System.Numerics.dll)
Parameters
- dividend
-
Type:
System.Numerics::BigInteger
The value to be divided.
- divisor
-
Type:
System.Numerics::BigInteger
The value to divide by.
| Exception | Condition |
|---|---|
| DivideByZeroException | divisor is 0 (zero). |
The sign of the remainder is the sign of the dividend parameter.
The Remainder method is implemented for languages that do not support custom operators. Its behavior is identical to division using the modulus operator.
If necessary, the method automatically performs implicit conversion of other integral types to BigInteger objects before it performs the modulus operation.
Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone
Available since 8.1
Show: