Casting Enum to string and int

I wanted to use an enum for making my code more verbose. So i can have an enum named States and use that for the index variable when grabbing elements from an array. Aswell as i wanted to print the enum out.

But in both cases i run into the issue that i cant cast an enum to int or string. And in both cases it doesnt accept an enum as a viable type when calling an element in the array or when using the Print() function.

Can someone help me with how i cast enums or tell me if it is not possible