Learn Abstract and Virtual keywords in C#

Опубликовано: 18 Февраль 2026
на канале: Developer Thing
186
6

In this video, I delve into the intricacies of C# programming by examining the abstract and virtual keywords.

00:00 - 00:10 Intro
00:10 - 00: 24 Creating an abstract class Animal
00:24 - 00:45 Showing that it is impossible to create an instance of an abstract class
00:45 - 00:50 Defining a new property in the Animal class
00:50 - 01:00 Creating a child class Dog that inherits from the class Animal
01:00 - 01:30 Declaring an abstract method Move
01:30 - 02:15 Implementing the Move in the Dog class
02:15 - 02:42 Showing the usage of the virtual keyword