get enum by index c#

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

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

Also in C#: