G waddell forgive me if im wrong but A being greater than 0 and a being less than is two conditions. This will compile and run if "Option Strict" is off one of the many reasons to always set Option Strict On , but it will always equate to True. Both 0 and -1 are less than , hence the true result. For those interested, here are some "Between" extensions from one of my pet projects. Beware that these have not been fully tested yet. This boolean is then compared to , which it will be less than.
Comparison of C Sharp and Visual Basic .NET
SQL - Quick Guide - Tutorialspoint
An operator refers to a symbol that instructs the compiler to perform a specific logical or mathematical manipulation. The operator performs the operation on the provided operands. Microsoft VB. Net comes with various types of operators. We will be discussing these in this tutorial.
Subscribe to RSS
Join Stack Overflow to learn, share knowledge, and build your career. Connect and share knowledge within a single location that is structured and easy to search. I'm having the exciting task of finding out about VB.
These are operators that are used to compare values. Comparison operators include equal to, less than, greater than and not equal to Comparison operators are used to compare values for validation purposes. Let's say you are developing a simple point of sale application. In this application, you want to validate the values entered before you post. In such cases, you can use comparison operators.