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 Session use Cookies in State Management?
How do sessions work?
differences between class inheritance and interface?
How is mvc different from asp.net? : Asp.Net MVC
i have 3+ exp in .net? i am going interview now but they asked me do you know any TOOL? which tool will i study please refer me?
Which control has default post back is enabled(true)?
0 Answers Sans Pareil IT Services,
What does assemblyinfo.cs file consist of?
What is asynchronous call?
What type of code, client-side or server-side, is found in a code-behind file of a Web page?
How would you turn off cookies on one page of your website?
what is webpart? what r the parts in this webpart (zone)
what is generics?
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)