A conditional branch executes blocks of statement depending on the value of an expression
The classic conditional branch is as follows
User requests record deletion
Are you sure?
Yes:-Delete record
No:-Ignore request
Visual Basic provides a variety of different conditional branches.
Using If/Then
It performs an action if a condition is True or skips the action if the condition is False.
Using If/Then/Else
It performs an action if a condition is True and performs a different action if the condition is False
Using Select Case
It is a multiple-selection control structure that can be used with any data types