How do you inherit from a class in C#?
Answers were Sorted based on User's Feedback
Answer / venu gopal
Place a colon and then the name of the base class. Notice
that it?s double colon in C++.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / shadab
write first derived class name after that colon(:)and then
write super class name.
for example
class Base
{
}
class Derived:Base
{
}
for more information u can visit
http://www.shadab-programminghelp.blogspot.com
| Is This Answer Correct ? | 2 Yes | 0 No |
Explain the difference between “as” and “is” operators used in c#?
What is the difference between “finalize” and “finally” methods in c#?
Give 2 scenarios where static constructors can be used?
Helo , Help Me , Help Me About : C# Windows Application - Network How To Manage IP Client's Accessiblity To The Internet Share concise Substitute , Minor ISA Server
What is polymorphism and its types in c#?
Explain streamreader/streamwriter class?
What is the solution if you need to manipulate sets of items?
If a child class instance is created, which class constructor is called first - base class or child class?
What is the meaning of console writeline in c#?
Explain the accessibility modifier protected internal?
What is a cshtml file?
Explain the types of errors in c#?
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)