StackOverflowException and properties
An easy way to get this exception is by refering a property to itself:
-
public string myproperty {
-
set { myproperty = value; }
-
}
The exception looks like this:
[StackOverflowException: Exception of type System.StackOverflowException was thrown.]
Granted it’s a pretty dumb thing to do.. :)







Comments
This little post helped me find some stupidity of my own. Thanks!
This helped me out too! It would have been a much longer day trying to find this small error, thanks!
I lost hours to this. I am so happy I found your post!