adspace


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 expression tree in c#?

1004


How do you inherit a class into other class in c#?

999


What is an abstract class c#?

973


Why can't we use a static class instead of singleton?

962


How to assign Null value to Var?

1071


Which namespaces are necessary to create a localized application?

1147