Open/Close principle is one of solid principles.
It states that class should be closed for modifications but open for extension.
If followed properly, it can reduce regression cost greatly and improve the quality of code.
I was recently debugging Web Site functionality issue with a client. We were not able to reproduce the issues at our end. I saw that the c...