I'm not sure I understand what you're asking. Generally it doesn't matter what the numerical value for each constant is because you never use it directly. The default for all enumerations is for the first constant to be zero and every other to be one greater than the one before it. If it actually does matter what the numerical values are then, as TechGnome says, you can specify any or all of the values explicitly. Any values that you don't set will follow the rules I mentioned earlier.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.