adspace


How do you implement multiple inheritance in .NET?

Answer Posted / ashish

Dear All,

Please help me I am confused with concept of interface.

Every book and every post says that multiple inheritance is
achived by interface as a class implement more then 1
interfacet, but is it really a multiple inheriance ?

Inteface just provides prototype and not any
functionality , so even if class implements more then one
inteface class has to write its code to implement it and if
any other class is also implemnting interface that class
also has to write code to implemnt it , so how multiple
inheritance is achieved.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an abstract class c#?

978


Which namespaces are necessary to create a localized application?

1151


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

963


What is expression tree in c#?

1007


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

1001


How to assign Null value to Var?

1073