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

What are the applications of c#?

1710


Can we declare class as protected?

1007


Enlist some of the properties of a thread class?

927


How can an inner class access the members of outer class?

981


How do you declare a variable in c#?

966


What is the system namespace?

910


What is the usage of OLE?

1010


What is static noise?

912


What is Fragmentation and its Types?

1006


How can you write a class to restrict that only one object of this class can be created (Singleton class)?

939


what is a destructor?

988


Why generics are used in c#?

962


What do you mean by jagged arrays in c#?

915


What is the difference between dispose() and finalize() methods in c#?

939


What is byte c#?

843