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

Give an example for authorization filters in an asp.net mvc application?

537


Which .net framework is installed?

507


Where are the routing rules defined in an asp.net mvc application?

544


what is use of entitydatasource control?

605


What is the use of viewmodel in mvc?

618






What is viewdata?

589


Mention what is the difference between “ActionResult” and “ViewResult” ?

577


If I have multiple filters implemented, what is the order in which these filters get executed?

525


What is the difference between entity framework and mvc?

521


What is the difference between viewbag and viewdata in asp.net mvc?

618


what is entityclient?

684


What are Validation Annotations?

578


Where is the new functionality in the .net framework 3.0 (such as wcf, wf, wpf, and cardspace) installed to? Is that different from where the .net framework 2.0 is installed to?

544


What is the greatest advantage of using asp.net mvc over asp.net webforms?

561


Can you use Razor code in Javascript in ASP.Net MVC?

665