Created
November 9, 2017 12:53
-
-
Save jonasdw/db2cec2b3a1397e9117dcafd580f296f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public enum StatusCode | |
{ | |
A=1, G, F, O, V, R, I | |
} | |
//usage | |
string something = "A"; | |
StatusCode.something // should output 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment