Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

About multi level and multiple inheritance how to achieve in
.net ?

Answer Posted / senthil kumar

.net supports directly to the multi level
inheritance.but .net doesnot support the multiple
inheritance directly instead of that we use interface used.

for example,multilevel inheritance

class a
{
-----
-----
-----
}

class b : a
{
-----
-----
-----
}

class c : b
{
----
----
----
}

multiple inheritance - interface
--------------------------------
interface a
{
-----
-----
-----
}

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between int16 and int32 in c#?

922


What is continue in c#?

979


What are reflections in c#?

899


What is c# and why it is used for?

944


Which function is the entry point for a DLL in MS Windows 3.1?

1166


Can I call a virtual method from a constructor/destructor?

878


Explain async and await?

1836


What are virtual classes in c#?

945


What is encapsulation in csharp?

977


What is AutoMapper in C#?

981


What are the Types of values mode can hold session state in web.config

987


What is xml serializer?

899


What is instantiating a class?

923


What does void mean in c#?

962


How do you escape in c#?

925