Implementing the Open-Close Principle in C#
The Open-Close Principle The Open-Close Principle states that software entities (classes, object, module, etc.) should be open for extensions, but closed for modifications. So, what does the principle mean to us? Basically, it says that if you created a class, you do not change the internals of the class (close for modifications) if...