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 data binding with example?
Why is c# good for games?
What is the use of nullable types in c#?
How many parameters can a method have c#?
Explain partial class in c#?
How to Install uninstall assemblies into GAC?
Explain what is an interface in c#?
Is string passed by reference in c#?
List the differences between method overriding and method overloading?
What is an array class?
What is a static property. Give an example?
Is linkedhashset synchronized?
Explain the difference between event and a delegate in c#?
What are primitive data types in c#?
Is and as in c#?