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 is the difference between struct and class in c#?
If a class derives from another class, will the derived class automatically contain all the public, protected, and internal members of the base class?
Why do we use abstraction in c#?
What are destructors in C#?
What is a bool in c#?
What does question mark mean in c#?
Where do we use serialization in c#?
How do you create dlls in .NET
What does async mean in c#?
Why abstraction is used in c#?
Is string a primitive data type in c#?
Can hashtable have duplicate keys?
What is difference between overloading and short circuiting?
Define Abstract Class in C#
What is ControlBox Propertie