Enumeration

Let's learn about enumeration.

We'll cover the following...

What is an enumeration?

An enum (enumeration) is a value type that consists of a collection of named constants. Using enums creates a modular design that enhances clarity and reduces the probability of invalid constants. ...