Tag - override

C# Keywords Tutorial Part 96: virtual

C# is an object-oriented programming language that provides the "virtual" keyword to enable polymorphism and runtime method invocation. In this blog post, we will discuss the use of "virtual" in C# and provide code examples to illustrate its behavior.What is the "virtual" keyword in C#?The keyword "virtual" can be used...

C# Keywords Tutorial Part 62: override

C# is an object-oriented programming language that allows developers to create reusable code through inheritance. The "override" keyword is an important feature of C# that enables developers to change the behavior of a method in a subclass.In this blog post, we'll explore what the "override" keyword is, how it works,...

C# Keywords Tutorial Part 1: abstract

The use of abstract classes and methods is one of the powerful features supported by the object-oriented programming language C#. In this article, we'll examine the "abstract" keyword in C# in greater detail and consider how it might be utilized to produce more adaptable and extendable code.An abstract class is...