I have a simple Enum
public enum TestEnum { TestOne = 3, TestTwo = 4 } var testing = TestEnum.TestOne;
And I want to retrieve
No need for reflection:
int value = (int)TestEnum.TestOne;