Visual C# Guide
Operators
Arithmetic Operators
+ addition
- subtraction
* multiplication
/ division
% modulus (remainder)
Operator Priority
When performing calculations, the computer will follow the BODMAS rules of mathematics regarding the priority of operators.
BRACKETS
* / %
+ -
Operators with equal priority are calculated from left to right. Therefore,
3 + 5 * 7 = 38
(3 + 5) * 7 = 56