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 CTS, and how does it relate to the CLS?
If a.equals(b) is true then a.gethashcode & b.gethashcode must always return same hash code.
What is a linq in c#?
What is dynamic in c#?
What is the difference between static class and abstract class in c#?
What is an abstract class c#?
Explain the difference between boxing and unboxing.
What is an assembly qualified name? Is it a filename? How is it different?
What is difference between web and window application?
Define delegate?
What is uint c#?
What are the 2 kinds of data type conversions in c#?
What do you understand by an Implicit Variable?
What is callback delegate in c#?
What is type cast in C#?