Archives by Tag 'Inheritance'

C# Polymorphism and Inheritance override the abstract or virtual

By admin - Last updated: Sunday, February 1, 2009

Occasionally, programmers get to explain Polymorphism and Inheritance in .NET, I’ve compiled some typical use cases in case they need to be explained without IDE. We start with IDrawable interface which indicates all its implementations have a Draw method. Geometry abstract class which contains PrintType() that will be called by the specific implementation. Shape class […]