switch for enums Posted by hasancanakgunduz on January 22, 2018 If you switch the enums do not use default. This way, you can get a error if you do not add a new enum case into the switch statement so you can fix the bug easily. Share this: Share on X (Opens in new window) X Share on Facebook (Opens in new window) Facebook Like Loading... Related