Skip to content

Tag Archives: CSharp-Interfaces

Before C# 8.0 interfaces only contain the declaration of the members(methods, properties, events, and indexers), but from C# 8.0 it is allowed to add members… Read More
An Interface is a collection of loosely bounded items that have a common functionality or attributes. Interfaces contain method signatures, properties, events etc. Interfaces are… Read More
A Delegate is an object which refers to a method or you can say it is a reference type variable that can hold a reference… Read More
In Multiple inheritance, one class can have more than one superclass and inherit features from all its parent classes. As shown in the below diagram,… Read More
An abstract class is a way to achieve the abstraction in C#. An Abstract class is never intended to be instantiated directly. This class must… Read More
Like a class, Interface can have methods, properties, events, and indexers as its members. But interface will contain only the declaration of the members. The… Read More
In C#, you are allowed to create a reference variable of an interface type or in other words, you are allowed to create an interface… Read More
Like a class, Interface can have methods, properties, events, and indexers as its members. But interfaces will contain only the declaration of the members. The… Read More