SOLID design principles in .NET: the Open-Closed Principle

Introduction In the previous post we talked about the letter ‘S’ in SOLID, i.e. the Single Responsibility Principle. Now it’s time to move to the letter ‘O’ which stands for the Open-Closed Principle (OCP). OCP states that classes should be open for extension and closed for modification. You should be able to add new features … Continue reading SOLID design principles in .NET: the Open-Closed Principle