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

How do you define a predicate?

896


What is Implicit conversion in C#?

1122


What is the difference between a method and a property?

1035


What are the different types of comments in c#?

882


What is icomparable in c#?

962


What is for loop in c#?

907


What is strongly typed in c#?

921


What do you mean by delegates and explain different types of delegates?

969


What is the default modifier for class in c#?

968


What are extension methods and where can we use them?

890


Why do we need oops in c#?

937


What is lazy in c#?

940


What is inheritance in csharp?

1009


What does m mean in decimal c#?

898


What is the difference between and xml documentation tag?

956