Skip to content

Open/Closed Principle OCP

2 posts2 contributors

+ FollowBe the first to follow this
Write about it

Everything about Open/Closed Principle OCP

  1. SOLID Principles In C# - Dependency Inversion Principle

    C# is an object-oriented programming language. These days whenever you talk about object-oriented programming you hear the acronym, SOLID. These are five design principles introduced by Michael Feathers to make our object-oriented applications easy to understand, maintain and expand as future requirements change. Today, we will look at the fifth and final principle with an example. I covered the first four principles in my previous articles.

    Munib ButtMunib Butt115,0741,000Article
  2. Adapter Pattern in C#

    The Gang Of Four (GoF) defined the Adaptor pattern as follows in their most famous book Design Patterns Gamma et al. Adapter lets classes work together that couldn't otherwise because of incompatible interfaces.

    Rajesh VS16,4101,000Article