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 |
What is as keyword in c#?
Where CANNOT Destructors be implemented ?
How many classes are there in classification?
Why multiple inheritance is not possible in c#
What is anonymous methods in c#?
How do you name a variable in c#?
How can I create image pieces/sub image?
What is an interface class? Give one example of it
How do I format in c#?
How can i load the text box and label at the runtime based on the existing text box and tabel
2 Answers Merrill Lynch, Patni,
Why can’t struct be used instead of class for storing entity?
Why is it a bad idea to throw your own exceptions?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)