Changes

Jump to: navigation, search

C Sharp Flow Control with if and else

11 bytes removed, 20:29, 15 January 2008
Using if ... else if .. Statements
</pre>
This approach works well for a moderate number of comparisons, but can become cumbersome for a larger volume of values or expression evaluations. For such situations, the C# ''switch'' statement provides a more flexible and efficient solution. For more details on using the ''switch'' statement read the chapter entitled [[|The C Sharp switch Statement|The C# switch Statement]].

Navigation menu