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
What is the difference between int16 and int32 in c#?
What is continue in c#?
What are reflections in c#?
What is c# and why it is used for?
Which function is the entry point for a DLL in MS Windows 3.1?
Can I call a virtual method from a constructor/destructor?
Explain async and await?
What are virtual classes in c#?
What is encapsulation in csharp?
What is AutoMapper in C#?
What are the Types of values mode can hold session state in web.config
What is xml serializer?
What is instantiating a class?
What does void mean in c#?
How do you escape in c#?