Why multiple Inheritence is not used in C#?

Answer Posted / ashwi ni chavan

A
/ \
B C
\ /
D
here D get the 2 copy's of A first copy get from B then
second copy get from C .
In class D name collision problem occure means two method's
or data member has same name occure in D class.thats why get
confusion of that's method's this promblem is also called as
Diamond problem........this problem solved using the
interface concept .

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is string nullable in c#?

453


What is the difference between a constant and a static readonly field?

524


Is char * null terminated?

520


What is the difference between structure and class in c#?

467


What are the types of operator?

455






How do you clear a list in c#?

495


windows c# using datagridview in edit form sql server

3569


Is a structure a class?

496


What is a service layer c#?

467


How many types of namespaces available in version4?

513


What is inline function in c#?

509


What do you mean by delegates and explain different types of delegates?

508


What is verbatim string literal in c#?

471


How long does a loop recorder procedure take?

513


What exactly happens when we debug and build the program?

1985