O'Reilly logo

Start Here!™ Fundamentals of Microsoft® .NET Programming by Rod Stephens

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

Chapter 8. Operators

In this chapter:

  • Precedence and how it determines the order of evaluation in mathematical expressions

  • What operators are and what the most common operators are in C# and Microsoft Visual Basic

  • How you can overload operators to define new actions for them

COMPUTERS ARE EXTREMELY GOOD AT PERFORMING mathematical calculations. A typical computer can perform millions of calculations per second without ever getting bored or making mistakes.

As you probably remember from math classes in school, an operator is a symbol that a program uses to tell the computer how to combine values to produce a result. An operand is one of the values combined by an operator.

A programming language could use any symbols to represent operators, but fortunately, ...

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