i want to know, why isnt it possible to cast an enum value, for instance, a value of enum of Capacity to Capacity:
have a look:
Capacity = 20..Int64.MaxValue;
MyEnum = public enum(a = 20, b = 40, c = 60) of Capacity;
var capacity := Capacity(MyEnum.a); //Throws a type missmatch
Is that enough or do you Need again a Project?