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 = question.GetHashCode();
It will result in value == 2.
value == 2
This is only true if the enum fits inside an int.
int