Introduction
- SOLID is an acronym for five design principles introduced by Robert C. Martin.
- SOLID stands for:
- S (Single Responsibility Principle): Each software module should have one and only one reason to change.
- O (Open/Closed Principle): Software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification.
- L (Liskov Substitution Principle): Subtypes must be substitutable for their base type.
- I (Interface Segregation Principle): Clients should not be forced to depend on methods they do not use.
- D: Dependency Inversion Principle: High-level modules should not depend on low-level modules. Both should depend on abstraction
References
https://www.tutorialsteacher.com/csharp/solid-principles