About multi level and multiple inheritance how to achieve in
.net ?

Answers were Sorted based on User's Feedback



About multi level and multiple inheritance how to achieve in .net ?..

Answer / 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

About multi level and multiple inheritance how to achieve in .net ?..

Answer / akila

we achive multilevel multiple inheritance in .net as like
java

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More C Sharp Interview Questions

explain Garbage collector’s functionality on unmanaged code

0 Answers   DELL,


Can we have multiple threads in one app domain?

0 Answers  


What is the correct way of declaring an xml namespace?

0 Answers  


Is c# an open source language?

0 Answers  


I have 3 overloaded constructors in my class. In order to avoid making instance of the class do I need to make all constructors to private?

0 Answers  


What is enumerable in c#?

0 Answers  


Is string reference type / value type ?

7 Answers   3i Infotech, Accenture, BirlaSoft,


How do you access a constant field declared in a class?

0 Answers  


What do you mean by thread safe in c#?

0 Answers  


What are the advantages of interface in c#?

0 Answers  


Explain the serialization in .net

0 Answers  


What is c# most used for?

0 Answers  


Categories