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

Name a few different return types of a controller action method?

764


mention what are the various methods provided by the dataset object to generate xml?

813


What is oauth in web api?

743


Mention two instances where routing is not implemented or required?

956


Will c# 3.0, vb.net 9.0, atlas, or linq be included in the .net framework 3.0?

717


what is split entity?

811


what is complex type?

773


What is the "helperpage.isajax" property?

904


Explain how to use multiple submit buttons in ASP.Net MVC?

862


Explain the use of Inversion of control (IOC)?

805


What is the use of view model in asp.net mvc?

893


What is edm (entity data model)? : Entity framework

755


How we can call a JavaScript function on the change of a Dropdown List in ASP.Net MVC?

762


What is razor code?

825


what is datacontrols?

3402