Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
Enumerations With Raw Values9:02 with Pasan Premaratne
Earlier we saw how enumeration members can contain associated values. Enums have one more trick up their sleeves and in this video we take a look at how we can provide a default value to an enum member using raw values.