# BigInteger.Subtraction(BigInteger, BigInteger) 运算符

## 定义

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

left
BigInteger

right
BigInteger

#### 返回

BigInteger

`right``left` 所得的结果。The result of subtracting `right` from `left`.

## 注解

Subtraction方法为值定义减法运算符的运算 BigIntegerThe Subtraction method defines the operation of the subtraction operator for BigInteger values. 它可以实现如下所示的代码：It enables code such as the following:

``````BigInteger num1 = 100045632194;
BigInteger num2 = 90329434;
BigInteger result = num1 - num2;
``````
``````Dim num1 As BigInteger = 100045632194
Dim num2 As BigInteger = 90329434
Dim result As BigInteger = num1 - num2
``````