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
What is c sharp language?
When a Static Constructor is called in a Class?
Explain About .Net remoting
Why dictionary is used in c#?
What is difference between singleton and static class in c#?
What's your approach to fetch static data in your windows form application?
What the different phase/steps of acquiring a proxy object in webservice?
Do vs while c#?
Can you store strings in arrays?
What is a static property. Give an example?
Can I define a type that is an alias of another type (like typedef in c++)?
What is callback function in c#?
Distinguish between array and arraylist in c#?
Why do we use inheritance in c#?
In which order the destructor is called for an inherited class?