Skip to content

Instantly share code, notes, and snippets.

@kleinron
Created October 22, 2016 10:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kleinron/a119f7589eb89544b5b8f9c06753dfec to your computer and use it in GitHub Desktop.
Save kleinron/a119f7589eb89544b5b8f9c06753dfec to your computer and use it in GitHub Desktop.
enum example - using
MyColors x = getColor();
if (x == MyColors.Green) {
doSomething();
} else {
doSomethingElse();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment