共用方式為


BigInteger.Multiply(BigInteger, 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) = System::Numerics::IMultiplyOperators<System::Numerics::BigInteger, System::Numerics::BigInteger, System::Numerics::BigInteger>::op_Multiply;
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

要相乘的第二個值。

傳回

leftright 的乘積。

實作

備註

方法 Multiply 會定義值的乘法運算子運算 BigInteger 。 它會啟用下列程式代碼:

BigInteger num1 = 1000456321;
BigInteger num2 = 90329434;
BigInteger result = num1 * num2;
let num1 = 1000456321I
let num2 = 90329434I
let result = num1 * num2
Dim num1 As BigInteger = 1000456321
Dim num2 As BigInteger = 90329434
Dim result As BigInteger = num1 * num2

這個運算子 BigInteger.Multiply(BigInteger, BigInteger)的對等方法是 。

適用於

另請參閱