Violation of the Liskov Substitution Principle
Learn why we need to be cautious when using the Liskov substitution principle.
We'll cover the following...
Applying the Liskov substitution principle to C# virtual methods
The Liskov substitution principle is a pattern of coding that’ll help prevent unintended functionality from being introduced into the code when we extend existing classes via inheritance.
However, certain language features might give less experienced developers the impression ...