Controls whether another statement will be performed.
General Form
if (expression)
statement
The expression must result in a bool value. If that value is true, the nested statement is performed; otherwise, the nested statement is ignored.
General Form
This variant of the if statement specifies a statement to be performed if the expression is false.
if (expression)
statement1
else
statement2