The case statement is the one statement where there is a difference in C/C++ compared to C#. The syntax is very similar, but there are limitations on the kind of data you can use in the expression. C/C++ can only use ordinal types in the switch statement, meaning we are limited to integer values.
Example
Here is an updated version of the case statement example. As our case statement is restricted to comparing integers, we use a simple menu to select between options instead of comparing strings.