Episode

C# Fundamentals for Absolute Beginners: (20) Enumerations and the switch Decision Statement

Here, we demonstrate the use of Enumerations because, in the .NET Framework Class Library, properties can often be set only to a predetermined subset of possible values. To illustrate this point, we create our own custom enumeration and then utilize it in a simple application that demonstrates a third Decision statement, the switch.

Full course outline: