How do you inherit from a class in C#?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Any problem found in vs.et

586


Is arraylist generic in c#?

472


Explain the Abstract class in c#.net

553


How do I join one form to another in c#?

466


How to implement delegates in c#.net

549






the c# keyword .int. Maps to which .net type?

751


What is array collection?

496


What is a nested type. Give an example?

620


What is the difference between “out” and “ref” parameters in c#?

513


What is a clr (common language runtime)?

485


What is the difference between disposing of () and finalize() methods in c#?

549


List the different stages of a thread?

484


What is use of a HashTable in .NET?

703


What is difference between write and writeline?

467


What Is An Interface Class?

560