ECMA-334 C# Language Specification14.7.1: Multiplication operator |
For an operation of the form x * y, binary operator overload resolution (14.2.4) is applied to select a specific operator implementation. The operands are converted to the parameter types of the selected operator, and the type of the result is the return type of the operator.
The predefined multiplication operators are listed below. The operators all compute the product of x and y.
int operator *(int x, int y); uint operator *(uint x, uint y); long operator *(long x, long y); ulong operator *(ulong x, ulong y); |
float operator *(float x, float y); double operator *(double x, double y); |
decimal operator *(decimal x, decimal y); |