How do you implement multiple inheritance in .NET?

Answer Posted / kamal

When we use the Multiple inheritance we use more than one
class. Lets one condition class A and class B are base
classes and class c is is multiple inherting it.And where
class c is inheriting a function .It may be possible that
this function with same name and same signature can present
in both class A and Class B . That time how the compiler
will know that which function it should take whether from
class A or class B.So Multiple inheritance show's an error.

Is This Answer Correct ?    7 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is visual c# net?

492


What are get and set in c#?

581


Is as operator in c#?

471


What does the parsefloat function do?

493


Why are mutable structs evil?

541






Enlist some of the properties of a thread class?

513


Is overriding of a function possible in the same class?

471


What is alias in c#?

537


What is class sortedlist underneath?

569


What do you mean by generic class in c#?

496


How do I simulate optional parameters to com calls?

509


What are Memory foot print of an exe?

509


How can I use .NET components from COM programs?

497


What is meant by desktop application?

501


What is the difference between paramaterized constructor and copy constructor?

508