Редагувати

Поділитися через


BigInteger.Multiply(BigInteger, BigInteger) Operator

Definition

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) = 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

Parameters

left
BigInteger

The first value to multiply.

right
BigInteger

The second value to multiply.

Returns

The product of left and right.

Implements

Remarks

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;
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

The equivalent method for this operator is BigInteger.Multiply(BigInteger, BigInteger).

Applies to

See also