Chapter 5 - VB.Net by Schneider
16
5.2 If Block
•
The program will take a course of action
based on whether a condition is true.
•
If
condition
Then
•
action1
•
Else
•
action2
•
End If
Will be executed if
condition is true
Will be executed if
condition is false