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 |
How does asp net store session ids by default?
What are the two properties that are common on every validation control?
what is the difference between console.writeline &console.output.writeline?
How can u handle Exceptions in Asp.Net?
What are the advantages of asp.net mvc framework? : asp.net mvc
How asynchronous call can be implemented using delegates?
Can we use the java script code in .Net Code behind?
how to convert from sql2000 numeric to int in asp.net with sqlparameter?
How do we implement bundling in MVC?
What are the versions of garbage collection?
What is & in a url?
What is active web pages?
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)