Check that enum value is out of range

How do i check that an enum is max? the switch on enum doesn’t have a default case

Try this:

My Products

Cool it works, thanks! was confused because trying to print it out displays it as enum MAX and i didn’t know how to check that it was that

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.