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

What is different about switch statements in c#?

488


What is dependency injection in simple words?

501


Explain how to implement delegates in c#.net

499


How more than one version of an assembly can keep in same place?

514


How do I download a program to my desktop?

461






What is a generic in c#?

500


Can a private virtual method can be overridden?

554


Explain different properties of object oriented systems.

445


in object oriented programming, how would you describe encapsulation?

555


What is the difference between firstordefault and singleordefault?

476


What does int parse do in c#?

469


What is the default value of string in c#?

557


What is void method?

488


What is indexer c#?

465


Why is c# a good programming language?

471