C #: "System.StackOverflowException" occurred in the mscorlib.dll file

enter image description here This morning I suddenly tested my code and I got this error. I don’t know what to do here, because it was a working file until last night.

I am checking the Stackoverflow website for a solution, but the solutions are based on source and local.

Hope someone tells me what the problem is? Is there any solution for this problem?

+5
source share
2 answers

, , XML, , - . , . , . , xmlspy ( -, http://www.w3schools.com/dom/dom_validate.asp)

+3

Windows # ( XML), "System.StackOverFlowException", : ", , @zmbq:

class A
{
//Class A code

class B
{
    //Class B code
}
}

class C
{
    A a = new A();
    B b = new B();
    C c = new C(); /*CALLING THE SAME CONSTRUCTOR IN CIRCULAR FASHION*/
}

C ( ), !!

0

All Articles