Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
Associated Enums4:52 with Pasan Premaratne
Not only can enums create instances with specific member values, we can also associate data or information with a particular member. In this video, let’s take a look at how we can create enums with associated values.