Saturday, April 20, 2024 16:00

Posts Tagged ‘override’

Polymorphism

Friday, January 3rd, 2020

The third fundamental principle of Object Oriented Programming is called polymorphism.  At a fundamental level, polymorphy refers to the ability of having many forms, or to transform into many forms. It comes from the Greek terms poly, which means “multiple”, and morph, which means “shape” or “form”.… Read more

Virtual Methods

Sunday, December 8th, 2019

Virtual methods are methods that can be overridden in inheriting (derived) classes. By default, in .NET, methods are not virtual. In order to declare a method as virtual, we need to declare it using the keyword virtual, like so:

Read more

Follow the white rabbit