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 |
what is meant inheritance. can you exaplain what kind inhertance ussed in your project
Why singleton class is sealed?
How do we achieve encapsulation in c#?
What's the difference between system.string and system.text.stringbuilder classes?
Is a dll an assembly?
What is hierarchical inheritance in c#?
What is the difference between func and action delegate?
Is datetime value type c#?
What is a nested type. Give an example?
What are the features of c#?
What is callback function in c#?
What is difference between ienumerable and iqueryable in c#?