Changes

Jump to: navigation, search

C Sharp Flow Control with if and else

7 bytes removed, 20:16, 15 January 2008
Using if ... else .. to Make Decisions
Clearly, x is indeed greater than 9 causing the message to appear in the console window.
== Using if ... else .. to Make Decisions Statements ==
The next variation of the ''if'' statement allows us to also specify some code to perform if the expression in the ''if'' statement evaluates to ''false''. The syntax for this construct is as follows:

Navigation menu