Common Operators

When working with data types, you often need to perform several tasks on them. Depending on what type you work with, the Visual Basic programming language offers different kinds of operators, such as arithmetic operators, logical and bitwise operators, and shift operators. In this section you learn about Visual Basic operators and how you can use them in your own code. Let’s begin by discussing arithmetic operators that are probably the most frequent operators you will use.

Get Visual Basic® 2010 Unleashed 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.