Nuacht
You’ll probably find yourself more often declaring enums in an interface. For example, Listing 3 presents a Switchable interface that nests a State enum to describe a pair of switchable states.
Cuireadh roinnt torthaí i bhfolach toisc go bhféadfadh siad a bheith dorochtana duit
Taispeáin torthaí dorochtana