The effect of static properties in a web context
https://stackoverflow.com/questions/242904
Question
I need to change a static property on an object in our web application. The property has a default value that is hard-coded into the object. If I change the static property in my Application_Start does that change stick:
A) Forever (well, until the app is recycled)
B) Until the object is GC'd then re-inialised by the next accessor
C) Depends
Note that the property I'd be setting is just a String
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow