BigInteger.Subtraction Operator
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Subtracts a BigInteger value from another BigInteger value.
Namespace: System.Numerics
Assembly: System.Numerics (in System.Numerics.dll)
Syntax
'Declaration
Public Shared Operator - ( _
left As BigInteger, _
right As BigInteger _
) As BigInteger
public static BigInteger operator -(
BigInteger left,
BigInteger right
)
Parameters
- left
Type: System.Numerics.BigInteger
The value to subtract from (the minuend).
- right
Type: System.Numerics.BigInteger
The value to subtract (the subtrahend).
Return Value
Type: System.Numerics.BigInteger
The result of subtracting right from left.
Remarks
The Subtraction method defines the operation of the subtraction operator for BigInteger values. It enables code such as the following:
Languages that do not support custom operators can call the BigInteger.Subtract method instead.
Version Information
Silverlight
Supported in: 5, 4
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.