SyntaxFix
Write A Post
Hire A Developer
Questions
Use simple casting:
int value = (int) enum.item;
Refer to enum (C# Reference)