BigInteger::Addition Operator (BigInteger, BigInteger)

 

Adds the values of two specified BigInteger objects.

Namespace:   System.Numerics
Assembly:  System.Numerics (in System.Numerics.dll)

public:
static BigInteger operator +(
	BigInteger left,
	BigInteger right
)

Parameters

left
Type: System.Numerics::BigInteger

The first value to add.

right
Type: System.Numerics::BigInteger

The second value to add.

Return Value

Type: System.Numerics::BigInteger

The sum of left and right.

The Addition method defines the addition operation for BigInteger values. It enables code such as the following:

No code example is currently available or this language may not be supported.

Languages that do not support custom operators can call the Add method instead.

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
Return to top
Show: