About multi level and multiple inheritance how to achieve in
.net ?
Answer Posted / senthil kumar
.net supports directly to the multi level
inheritance.but .net doesnot support the multiple
inheritance directly instead of that we use interface used.
for example,multilevel inheritance
class a
{
-----
-----
-----
}
class b : a
{
-----
-----
-----
}
class c : b
{
----
----
----
}
multiple inheritance - interface
--------------------------------
interface a
{
-----
-----
-----
}
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
How do you define a predicate?
What is Implicit conversion in C#?
What is the difference between a method and a property?
What are the different types of comments in c#?
What is icomparable in c#?
What is for loop in c#?
What is strongly typed in c#?
What do you mean by delegates and explain different types of delegates?
What is the default modifier for class in c#?
What are extension methods and where can we use them?
Why do we need oops in c#?
What is lazy in c#?
What is inheritance in csharp?
What does m mean in decimal c#?
What is the difference between xml documentation tag?