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 is the benefit of interface in c#?
What does void do in unity?
How string definitions will prevent escaping on backslashes in C#?
Explain how many types of exception handlers are there in .net?
What exactly is serverless?
What do you mean by winforms in c#?
What is sqldataadapter in c#?
What is dictionary class in c#?
What does exclamation mark mean c#?
What is a console in c#?
What is the purpose of dictionary in c#?
What is the task perform by clr?
What is this keyword in C#?
What is the difference between interface and abstract class in c#?
What are the types of inheritance in c#?