Tuesday, March 19, 2024 06:02

Archive for December, 2019

Encapsulation

Thursday, December 19th, 2019

The second fundamental principle of Object Oriented Programming is called encapsulation.  Its main definition refers to the action of hiding anything that is not essential from the outside world. It is not very difficult to understand the fact that we do not need to expose everything when we build something.… 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