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
Does c# support multiple inheritance (mi)?
Why do we need to override in c#?
How do I calculate relative time?
What is an enumerator in c#?
Illustrate namespaces in c#?
Define acid rule of thumb for transactions in c#.
How do you declare a variable in c#?
Is c# strongly typed?
Can a class be private in c#?
Explain the difference between arraylist and array and in c#?
What is sqldatareader c#?
What is the difference between icomparer and icomparable in c#?
Why is hashset faster?
Give 2 scenarios where static constructors can be used?
Define multicast c# delegate?