How do you implement Inheritance in dot net ?
Answer Posted / tarun kumar
In c# we include the " : "
here example
class class1
{
----
----
----
}
class class2 : class1
{
-----
-----
-----
}
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
what are windows services?
How do you convert byte array to hexadecimal string, and vice versa?
Is c# or c++ better for games?
How can I check the type of an object at runtime?
Explain how to implement an object pool in c#.net
Explain About remoting and web services. Difference between them
How to add controls dynamically to the form using c#.net.
Is a games console a computer?
Which class comes after the SortedList class?
Define parsing? Explain how to parse a datetime string?
What is the purpose of constructor in c#?
Why do we need dependency injection in c#?
Why main is static in c#?
Can we overload the main method in c#?
Can we make a class private in c#?