How do you implement Inheritance in dot net ?
Answer Posted / senthil kumar
In c++ we include the :: operator.
In c# we include the " : "
here example
class class1
{
----
----
----
}
class class2 : class1
{
-----
-----
-----
}
when we use the multiple class for implementation,comman(,)
is used to seperate for the class
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
What do you mean by default constructor?
What is an interface class? Give one example of it
What is signature c#?
How can i Spawn a Thread
What is default parameter in c#?
What is short in c#?
What is string concatenation?
What is a race condition?
how to sort an array in c#
Explain the OOPS concept in C#?
What does ienumerable mean?
Define thread?
What is the difference between IEnumerator and IEnumerable?
What are expressions c#?
What debugging tools come with the .NET ssSDK?