hi all,
I want to create a property in class (datatype=enum).
In one other class I have declaration of enum:
public enum enumCrep
{
cRep1 = 1,
cRep2 = 2,
}
now, I want to create a property:
public enumCrep ecRep
{
get { return this.ecRep;}
set {this.ecRep = value;}
}
at the moment of asignig a value to this propery its raises error:
{Cannot evaluate expression because the current thread is in a stack
overflow state.}
thanks for help in advance