Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
public class Color : Enumeration<Color>
{
private Color(int value, string displayName)
: base(value, displayName)
{
}
public static readonly Color Red
= new Color(1, "Red");
public static readonly Color Blue
= new Color(2, "Blue");
}

hazzik commented May 1, 2012

THIS IS JAVAAAAAAAAAAAAAAA!!!!!!!!!!!

Owner

jbogard commented May 1, 2012

lol yes it is, totally stolen!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment