Visual Basic .NET Primer Plus

You will learn the following in this chapter:

  • What relational operators are and how to use them

  • What logical operators are and how to use them

  • How to use bitwise operators

  • What operator precedence is for relational and logical operators

This chapter explores the relational and logical operators in Visual Basic .NET. You use these operators to make decisions in programs by comparing one value against another. Indeed, a fundamental task of almost any computer program is the capability to make decisions based on data that is present in the program. The relational and logical operators, therefore, are a cornerstone in the decision-making capability of a computer program.

Категории