Skip to content

else

The else keyword is used to wrap code under else conditions.

Syntax

if (condition)
{
}
else
{
}