In C#, is it possible to decorate an Enum type with an attribute or do something else to specify what the default value should be, without having the change the values? The
[DefaultValue(None)] public enum Orientation { None = -1, North = 0, East = 1, South = 2, West = 3 }
Then in the code you can use
public Orientation GetDefaultOrientation() { return default(Orientation); }