Multiple Inheritance in C#
In this article we are going to see, Inheritance in C#. So, What is an Inheritance in C#? An Inheritance is a concept or approach where one type can be derived from other types Just like a son gets his DNA from his parents. In c#, we can derive a type from other types. So the child type can inherit its parent type members such as Methods, Property, etc. Now, we will see Multiple Inheritance where a class can derive from more than one type. But for that, a class has to derive from Interfaces. Because Interfaces supports multiple Inheritance, a normal class derived from only one Class and multiple interfaces. (Type means Classes, Interfaces, and Abstract classes)Following is a simple program to understand it. Code Snippet:- public interface Interface1 { /// <summary> /// Abstract method declaration /// </summary> /// <param name="_input"></param> void WhatUgot(int _input); } public interface Interface2 { /// <summary> /// Abstract...