Recently in one of interviews, i faced this question "Why multiple inheritance is not supported"?
If a Type inherits from multiple Types, then it is called multiple inheritance. In C#, a class can't inherit from multiple classes. There are few reasons behind not implementing multiple inheritance in C#.
C# provides another alternative for multiple inheritances. A class or interface can inherit from multiple interfaces. We can create multiple interfaces and make the class to inherit from those classes.
Read More..   [32134 clicks]
Published under: C# Interview Questions and Answers · · · ·