Search for a lesson?


C# 213: Switch

Another way to write the If-Else ladder when the conditions are strictly equal (neither greater nor smaller) is to use a Switch structure. It makes the reading of the cases more simple.

Duration: 8:10

Difficulty: Intermediate

Downloads: Example Code



Photos from this tutorial