Just cast the enum, e.g. int something = (int) Question.Role;. The above will work for the vast majority of enums you see in the wild, as the default ...
確定! 回上一頁