Visual Basic 2010 offers logical, bitwise, and shift operators. Logical operators are special operators enabling comparisons between Boolean values and also returning Boolean values. Bitwise and shift operators enable performing operations bit by bit. Next let’s discuss both logical and bitwise operators.
In Visual Basic 2010, there are eight logical/bitwise operators:
IsTrue. In this subsection you learn about the first four, while the other ones will be covered in the next subsection. The first operator,
Not, basically returns the opposite of the actual Boolean value. For example, the following lines of code return
False because although the ...