public
Created

  • Download Gist
Color.cs
C#
1 2 3 4 5 6 7 8 9 10 11 12
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");
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.