About multi level and multiple inheritance how to achieve in
.net ?
Answers were Sorted based on User's Feedback
.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 |
Answer / akila
we achive multilevel multiple inheritance in .net as like
java
Is This Answer Correct ? | 2 Yes | 1 No |
explain Garbage collector’s functionality on unmanaged code
Can we have multiple threads in one app domain?
What is the correct way of declaring an xml namespace?
Is c# an open source language?
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?
What is enumerable in c#?
Is string reference type / value type ?
7 Answers 3i Infotech, Accenture, BirlaSoft,
How do you access a constant field declared in a class?
What do you mean by thread safe in c#?
What are the advantages of interface in c#?
Explain the serialization in .net
What is c# most used for?