1.3.7 Arithmetic Operators and Expressions

Arithmetic Expressions Produce Numeric Values

C# can combine numeric values with arithmetic operators.

Common operators include:

Activity diagram showing expression produces value, then assignment stores value.
ExpressionProducesValue.
  • New
  • Changed
  • Removed

That distinction helps when predicting what the program will do.