Check out example codes for "get enum by index c#". It will help you in understanding the concepts better.

Code Example 1

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

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

Learn ReactJs, React Native from akashmittal.com