One reason someone might want to convert an enum to an int is to save the value somewhere. It often isn’t possible to directly save an enum to storage. But you can save an int and then later convert the int back to an enum. Note that you need to be careful, though, because if you ever save an int value from an enum and then change the order of the items in the enum, you’ll get unexpected results when you try to convert the saved int back to the new enum.