O'Reilly logo

C# Primer Plus by Klaus Michelsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, you learned about the main arithmetic operators along with the string, char, and enumerator types.

What follows are the important points covered in this chapter.

Arithmetic operators combine with operands to form arithmetic expressions.

Binary operators operate on two operands. Unary operators operate on one operand.

An operand can be any arithmetic expression, so any longer arithmetic expression can be broken into simple expressions consisting of binary and unary operators and their operands. The compiler evaluates any arithmetic expression by following this process while observing the precedence and associativity rules of the included operators. This evaluation process often gives the same result as when we apply the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required