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

How does it work?

505


What is c# used for?

507


What is a boolean c#?

471


What does namespace mean?

507


what is a enumeration in c#

568






What is verbatim string?

501


What do you know about Translate Accelerator?

588


Explain the role of Garbage collector and its generations?

515


What is dataadapter c#?

477


What is ilasm.exe used for?

504


Can you have parameters for static constructors?

531


What you mean by delegate in c#?

492


Is c# pass by reference?

501


What is nameof c#?

481


Is c# front end or back end?

509