Contenido del Curso
C# Basics
C# Basics
else Keyword
There is an else
keyword which can be used for executing a block of code if the condition is not met.
Syntax:
Example:
main
The following diagram explains the flow of if-else statement:
¿Todo estuvo claro?