Is it possible to specify that a enum property can only have a range of values?
enum Type { None, One, Two, Three } class Object { [Allo
You could do the validation in setter logic.
EDIT: some example:
class Object { private Type _value; public Type objType{ get{ return _value; } set{ if(value != Type.One && value != Type.Three) throw new ArgumentOutOfRangeException(); else _value = value; } } }