Home »

Is it possible to use multipe inheritance in .net?

Question ListCategory: .NETIs it possible to use multipe inheritance in .net?
adamemliy16 author asked 8 years ago
1 Answers
jeanderson295 author answered 8 years ago

Multiple Inheritance is an ability to inherit from more than one base class i.e. ability of a class to have more than one superclass, by inheriting from different sources and thus combine separately-defined behaviors in a single class.
There are two types of multiple inheritance:multiple type/interface inheritance and multiple implementation inheritance. C# & VB.NET supports only multiple type/interface inheritance, i.e.you can derive an class/interface from multiple interfaces. There is no support for multiple implementation inheritance in .NET. That means a class can only derived from one class.

Please login or Register to Submit Answer