how can i inharit multiple classes?
Answers were Sorted based on User's Feedback
Answer / rajkumar
.net framework does not support multiple inheritance so should ascertain this to ur interviewer
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ratnesh
If u want to multiple inheritance via classes then u can do
this ..
class A
{
Method1(){}
}
class B:A
{
Method2(){}
}
And now create third class suppose C and Inherit it from
class B.Now class C have both methods Method1 of A and
Method2 of B.
class C:B
{
}
| Is This Answer Correct ? | 1 Yes | 2 No |
What is the difference between Proxy and Contract?
Which @page directive should you create an asynchronous page?
What are Session states available and its Uses?
Every Validation controls have same option ?
What is asp.net file?
How to execute a stored procedure.and how to call it form a asp page
How many view state can be hold by a aspx page ?
What is session start?
Difference between asp and asp.net?
How many types of cookies are available in asp?
What is .netmodule and how is different from .dll and .exe
What is the full meaning of asp.net?
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)