O'Reilly logo

C# 5.0 Unleashed by Bart De Smet

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

Arithmetic Operators

Time to take a look at the various operators in C#. One popular category consists of arithmetic operators, including +, -, *, /, and %. I bet you can guess the role of most, if not all, of them: + is used for addition, - for subtraction and negation, * for multiplication, / for division, and % for remainder after division.

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