Liskov Subsitution

The Liskov Substitution Principle in C#: The L of SOLID
The Liskov Substitution …

The Liskov Substitution Principle (LSP) is one of the five principles of object-oriented programming and design known as SOLID. It was introduced by Barbara Liskov in 1987 and says that objects of a superclass should be able to be replaced by objects of a subclass without affecting the correctness …