say I have this:
enum ABC {a,b,c}
and I have int val =2.... how can I convert the integer value to the correct enum member in ABC?
I tried (ABC) val but it didnt workI dunno what I'm doing, someone help me
|
Results 1 to 2 of 2
|
Click Here to Expand Forum to Full Width |