BigInteger::Add Method (BigInteger, BigInteger)
.NET Framework (current version)
Adds two BigInteger values and returns the result.
Assembly: System.Numerics (in System.Numerics.dll)
Parameters
- left
-
Type:
System.Numerics::BigInteger
The first value to add.
- right
-
Type:
System.Numerics::BigInteger
The second value to add.
Languages that do not support operator overloading or custom operators can use the Add method to perform addition using BigInteger values.
The Add method is a useful substitute for the addition operator when instantiating a BigInteger variable by assigning it a sum that results from addition, as shown in the following example.
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: