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 elements of a website?
asp.net page is a object or not?
What is session id in web application?
Define secured sockets layer.
what is profiles in asp.net
How do you handle server controls?
What are the types of authentication in asp.net?
Define repository pattern in mvc.net? : asp.net mvc
What are the memory-mapped files?
Difference b/w casting and boxing?
what is the uses Of Global.asax
Can you explain one critical mapping? Performance issue which one is better?