Nested Enums: The What, Why and When

They aren’t too hard!

If you’d prefer the video version — https://youtu.be/I6j-suUEOts

We can add enums within enums, or even within a Struct or a Class in order to make our software design come alive.

This article will take us through just that.

The example

During 2020 the UK experienced various lockdowns. During some of these the number of acceptable activities for…