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...

Why multiple Inheritence is not used in C#?

Answer Posted / mayur teli

There is the classic diamond problem encountered in multiple inheritance, in which class D inherits from both B and C, which both inherit from A.

A
/ \
B C
\ /
D
So which copy of A does D get? The one from B, the one from C? Both? This way various languages resolve this problems is discussed here:

http://en.wikipedia.org/wiki/Diamond_problem

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1091


Why do we use namespace in c#?

1002


How many types of constructor are there in c#?

956


What is iqueryable in linq?

936


What is callback function in c#?

965


What is the difference between namespace and class in c#?

1001


What happens during the process of boxing?

1109


Explain the feature of c# language?

959


Is c# pass by value?

932


Value Type and Reference Type Data type in C#?

1017


What is a predicate in c#?

972


Can you have more than one namespace in c#?

1002


How many variables do you need?

983


what is the equivalent to regsvr32 and regsvr32 /u a file in .net development?

1011


Which namespaces are necessary to create a localized application?

1109