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 / shrikant narayanrao khode

Reason :
Every class inherit ToString() method.

class A ---> ToString()

class B ---> ToString()
-----------------------------
class C :A,B

Toatl ToString() method will be ----> 2
It is going to raise ambiguity problem.
Thats why Multiple inheretance is not possibe.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you put two constructor with the same structure in a class?

861


Differentiate between object pooling and connection pooling in c#?

931


What is the difference between interface and inheritance in c#?

857


What is parallel foreach in c#?

916


State the top.NET class that everything is derived from?

884


Is a c# interface the same as a c++ abstract class?

923


What is a dictionary in c#?

840


What are the drawbacks of extending an interface as opposed to extending a class?

816


What is a nullreferenceexception and how do I fix it?

972


Is goto statement supported in c#?

880


What is razor view in c#?

781


What do you mean by shared assembly?

1013


What is the benefit of delegate in c#?

859


What is use of abstract class in c#?

878


List some of the basic string operation?

871