Quantcast
Channel: Digital Transition » .NET
Viewing all articles
Browse latest Browse all 10

5 principles of Object Oriented Class Design

$
0
0
SRP (The Single Responsibility Principle): A class should have one, and only one, reason to change. OCP (The Open Closed Principle): You should be able to extend a classe’s behavior, without modifying it. LSP (The Liskov Substitution Principle): Derived classes must be substitutable for their base classes. DIP (The Dependency Inversion Principle): Depend on abstractions, [...]

Viewing all articles
Browse latest Browse all 10

Trending Articles