Is it possible to use multipe inheritance in .net

Answer Posted / kirti

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.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is .net core framework?

617


what is lazy loading in entity framework?

675


Explain the difference between viewbag and viewdata in mvc?

620


what is conceptual model?

691


What are the possible razor view extensions?

654






What is entity sql? : Entity framework

636


What is meant by bootstrap in mvc5?

739


How does servicing work for the .net framework 3.0? If I install the .net framework 3.0, can I get service updates for the .net framework 2.0?

604


Explain what is the difference between view and partial view?

681


How to update one of my table in database at 4pm every day how it is possible?

642


What is the difference between ViewData, ViewBag and TempData?

714


What is the "helperpage.isajax" property?

780


How does .net framework works?

648


What are html helpers in asp.net mvc?

657


What are Action Filters in ASP.NET MVC and its use?

658