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, ...
Get Start Here!™ Fundamentals of Microsoft® .NET Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.