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

What are delegate methods?

914


What is the use of table aliases?

877


How many aware interfaces are there?

873


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

996


What is the use of console application in c#?

888


What is difference between a function and a method?

898


Which is faster iqueryable or ienumerable?

958


What is .edmx file?

946


What are collections in c#?

871


what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?

1849


What is the difference between abstract class and interface in c#?

922


explain the nature of the assembly work?

2520


Can we inherit a private class in c#?

867


How can we set class to be inherited, but prevent the method from being over-ridden?

959


Explain the difference between user control and custom control. Also, explain their use.

1031