What is "stack over flow" error in c# ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What is "stack over flow" error in c# ?

I was programming a project in c# which has 6 window form but when I debug it shows me stack over flow error .I have no idea about it 🧐

3rd Nov 2020, 8:54 AM
Shayan
Shayan - avatar
3 Answers
3rd Nov 2020, 9:13 AM
0_O-[Mägár_Sám_Äkà_Nüllpøïntêr_Èxëcéptïön]~~
0_O-[Mägár_Sám_Äkà_Nüllpøïntêr_Èxëcéptïön]~~ - avatar
+ 1
I found these problem. The problem was : I created an object from next form in each form code but it caused a loop . When the program starts at first it maked an object from next form and it continues for each form.
7th Nov 2020, 1:45 PM
Shayan
Shayan - avatar
+ 1
Thanks all of you ☺️😊
7th Nov 2020, 1:45 PM
Shayan
Shayan - avatar