21-Conditional Operators

0
339

This Visual Basic Tutorial is all about Conditional Operators.
What is conditional operators? Conditional Operators  refine the statement you’re testing for. For instance,  you can specify  the statement whether it’s greater than, less than, and a whole lot more.

 

The following are the list of Operators:

  • >
  • <
  • =
  • <=
  • =>
  •  <>

 

Example:

Dim x As integer = 4
Dim y As integer = 10
If x = y Then
msgBox (x & ” is equal to ” & y)
else

 

Related articles readers might read:

 

Facebook Comments

LEAVE A REPLY

Please enter your comment!
Please enter your name here