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)的等效方法是 。

适用于

另请参阅