index of an enum csharp

Code Example - index of an enum csharp

                
                        //Returns the enum value at the index
(EnumType)int;

//returns the string of the enum value at the index
(EnumType)int.ToString();