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 are the types of authentication in asp.net?
What is the sequence in which ASP.NET events are processed?
How can you execute stored procedure from windows application?
what are the Custom controls in asp.net?
Define xmlreader class.
Is session server side or client side?
Exception handling
How Web Service help? What is the difference between Remoting & Web Servcies?
How do you identify that the page is postback?
Can master pages be nested?
What is Response.Flush method ?
What is difference between View State and Hidden Field in ASP.NET?