Link to home
Start Free TrialLog in
Avatar of kravindra
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.StackOverflowException' 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.
ASKER CERTIFIED SOLUTION
Avatar of Carl Tawn
Carl Tawn
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of shadow77
shadow77

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.