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

Why do we use delegates in c#?

0 Answers  


Does C# supports multi-dimensional arrays?

3 Answers   Microsoft,


what is the scope of anonymous type ?

0 Answers   Wipro,


Explain attributes in c#?

0 Answers  


What are virtual classes in c#?

0 Answers  






If a base class has a bunch of overloaded constructors, and an inherited class has another bunch of overloaded constructors, can you enforce a call from an inherited constructor to an arbitrary base constructor?

1 Answers  


What is the difference between list and array in c#?

0 Answers  


what is accessspecifier and explation each with example?

3 Answers  


What is stringbuilder c#?

0 Answers  


How Reflection is used and what it's significance ?

0 Answers   HCL,


how can i return string by vilating duplicates(inpyt like asdfsda but output should be 2a2d2sf and 2a,2d,2s,f)

2 Answers   Microsoft,


What is msil, and why should developers need an appreciation of it if at all?

0 Answers  


Categories