Returning value of static property from public instance property
- by Jamie Dixon
I was just playing around with some code in LINQPad and managed to crash the program with a stackoverflow exception.
I basically created a static property in a class and used another property to return the value from an instance.
The getter of my instance property would return the value of the static property, but the setter would set itself.…