R
rodchar
hey all,
is there anyway to ask the Enum what the string value is with a given value?
Like how you would access an element of an array?
enum Myenum
{
test1=1
test2=2
}
This won't work but may better explain:
String a = MyEnum[1];
thanks,
rodchar
is there anyway to ask the Enum what the string value is with a given value?
Like how you would access an element of an array?
enum Myenum
{
test1=1
test2=2
}
This won't work but may better explain:
String a = MyEnum[1];
thanks,
rodchar