I have a class called Questions (plural). In this class there is an enum called Question (singular) which looks like this.
Questions
Question
public e
Use:
Question question = Question.Role; int value = Convert.ToInt32(question);