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:
- Dim x As integer = 4
- Dim y As integer = 10
- If x = y Then
- msgBox (x & " is equal to " & y)
- <pre>msgBox (x & " is not equal to " & y)
- End If
Related articles readers might read: