get enum by index csharp

Code Example - get enum by index csharp

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

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