C# Switch

A switch statement in C# is a great way to switch between options. It is useful if you have a few or a lot of options. In many cases it is easier to understand that a bunch of “if-else” statements. The compiler will turn a switch statement into the equivalent of “if-else” statements, so there is no run-time penalty for […]

Read more
1 2 3