kravindra
asked on
An unhandled exception of type 'System.StackOverflowException' occurred in loadversionresult.dll
public abstract class result: calculate
{
public Vesion ResultVesion
{
get
{
return this.ResultVesion ;
}
set
{
this.ResultVesion = value;
}
public abstract class Valuation
{
private Vesion resultVesion;
public Vesion ResultVesion
{
get { return resultVesion ; }
set { resultVesion = value; }
}
}
An unhandled exception of type 'System.StackOverflowExcep tion' occurred in loadversionresult.dll
this exception i am getting at get-->in class result-->at property ResultVesion.
Could you please say me how to overcome this error.
{
public Vesion ResultVesion
{
get
{
return this.ResultVesion ;
}
set
{
this.ResultVesion = value;
}
public abstract class Valuation
{
private Vesion resultVesion;
public Vesion ResultVesion
{
get { return resultVesion ; }
set { resultVesion = value; }
}
}
An unhandled exception of type 'System.StackOverflowExcep
this exception i am getting at get-->in class result-->at property ResultVesion.
Could you please say me how to overcome this error.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It appears that the people who responded answered the question.
I think that carl_tawn posted a useful answer (http:#31882828) to the question and that he deserves to receive points.
Thanks shadow77. Although I'd recommend a split between (http:#31882828) and (http:#31887449) since I pointed out the problem, but shadow77 provided a sample fix.