Ritesh Singh
What is SOLID Principle in Programming Language?
  • Ritesh Singh
    Jul, 2016 28

    1. SRP The Single Responsibility Principle: -- a class should have one, and only one, reason to change. 2. OCP The Open Closed Principle: -- you should be able to extend a class's behavior, without modifying it. 3. LSP The Liskov Substitution Principle: -- derived classes must be substitutable for their base classes. 4. ISP The Interface Segregation Principle: -- make fine grained interfaces that are client specific. 5. DIP The Dependency Inversion Principle -- depend on abstractions not on concrete implementations.

    • 3
  • Kirtesh Shah
    Dec, 2021 1

    Hi All,
    Please see below article which will explain you SOLID Principle with example.

    https://www.c-sharpcorner.com/article/introduction-of-solid-principles/

    Thanks

    • 1


Most Popular Job Functions


MOST LIKED QUESTIONS