I have an enum that has different colors in it. I would like to pass some function an int
and have it return the color name that is in the enum in that position.
What's the way to do this?
See Question&Answers more detail:osI have an enum that has different colors in it. I would like to pass some function an int
and have it return the color name that is in the enum in that position.
What's the way to do this?
See Question&Answers more detail:os