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

Code Example 1

arrayName variable = (arrayName) index
//for example
Days day = (Days)3;

Learn ReactJs, React Native from akashmittal.com