## 定義

2 つの BigInteger 値を加算し、その結果を返します。Adds two BigInteger values and returns the result.

``````public:
static System::Numerics::BigInteger Add(System::Numerics::BigInteger left, System::Numerics::BigInteger right);``````
``public static System.Numerics.BigInteger Add (System.Numerics.BigInteger left, System.Numerics.BigInteger right);``
``static member Add : System.Numerics.BigInteger * System.Numerics.BigInteger -> System.Numerics.BigInteger``
``Public Shared Function Add (left As BigInteger, right As BigInteger) As BigInteger``

left
BigInteger

right
BigInteger

#### 戻り値

`left``right` の合計。The sum of `left` and `right`.

## 注釈

Add メソッドは、次の例に示すように、加算によって得られる合計を割り当てることによって BigInteger 変数をインスタンス化するときに加算演算子の代替として使用できます。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.

``````// The statement:
//    BigInteger number = Int64.MaxValue + Int32.MaxValue;
// produces compiler error CS0220: The operation overflows at compile time in checked mode.
// The alternative:
``````' The statement