This documentation is archived and is not being maintained.
BigInteger::Remainder Method
Visual Studio 2010
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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: