Friday, April 19, 2024 23:17

Posts Tagged ‘if’

Nested If statements

Sunday, January 8th, 2017

Sometimes in your programs, you will need to perform checks inside other checks. These kind of conditional processing are called nested If statements or nested If-Else statements.

In common words, nesting is the process of placing a concept inside another concept.… Read more

Conditional statement If-Else

Sunday, January 8th, 2017

In addition to If, C# offers conditional statement If-Else. When I explained the If statement, I was saying that the program will execute the instructions only if the If condition is True. What if we wanted to execute a total different condition when and only when that condition is False?… Read more

Testing a condition with If

Saturday, January 7th, 2017

As previously stated in our lessons, as your programs will become more and more complex, they will perform a set of instructions when a condition is True, and another one when is False. When your program executes a conditional processing, you will be testing a condition with If.… Read more


Follow the white rabbit