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

Code Example 1

enum myEnum { firstValue: 1, secondValue 2, thirdValue = 3};
string text = Enum.GetName(typeof(myEnum), 2); // text is "secondValue"

Learn ReactJs, React Native from akashmittal.com