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
What do you mean by sealed classes and static classes?
Is c# and c sharp same?
Differentiate between method overriding from method overloading with its functionality?
What operator means?
Does c# support multiple class inheritance?
What is the purpose of ienumerable in c#?
How do you specify a custom attribute for the entire assembly (rather than for a class)?
what is boxing and unboxing?can we initialize unboxing directly?
What is the name of c# compiler?
What is action in c# 3.5?
What is the difference between static and private constructor?
Difference between call by value and call by reference in C#?
What is the max value of int32 in c#?
What is the use of oops in c#?
What is a web service in c#?