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 inheritance is not possible in c#

Answer Posted / kanan

There is no definitive answer to this question. It is a
matter of taste.
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?

Is This Answer Correct ?    18 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

if you do have a stack overflow profile.what is your ranking?

1893


Is c# lazy thread safe?

906


Can we override interface methods in c#?

870


What is static and use of it?

989


The int maps to which C# keyword in .NET type?

1045


How to declares a two-dimensional array in C#?

1036


hi all.... i need code snippets for store and retrive tiff fromat images in sqlserver....... kindy provide it.......

1840


What is regex replace in c#?

1015


What is mvc firstordefault?

919


What are the steps for creating clr trigger

1050


What is the and operator in c#?

982


What is the difference between list and arraylist in c#?

872


Can interface inherit class in c#?

980


Can you inherit from a static class in c#?

944


You have got 1 million parking slots. At a time a parking slot can be free or not. To get next slot easily which data structure to implement?

1084