BigInteger.Multiply(BigInteger, BigInteger) 运算符

定义

两个指定的 BigInteger 值相乘。Multiplies two specified BigInteger values.

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

要相乘的第一个值。The first value to multiply.

right
BigInteger

要相乘的第二个值。The second value to multiply.

返回

leftright 的乘积。The product of left and right.

注解

Multiply 方法定义了 BigInteger 值的乘法运算符的运算。The Multiply method defines the operation of the multiplication operator for BigInteger values. 它可以实现如下所示的代码:It enables code such as the following:

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

此运算符的等效方法是 BigInteger.Multiply(BigInteger, BigInteger)The equivalent method for this operator is BigInteger.Multiply(BigInteger, BigInteger).

适用于

另请参阅