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 is difference between const and static in c#?
Difference between Value type & reference types ? and give the example in .Net?
What is class sortedlist underneath?
What is ildasm and obfuscator in net?
What are types in c#?
Explain the top reason to use c# language?
What is querystring in c#?
What is the default value of singleordefault?
Is predicate a functional interface?
Why do we need singleton class in c#?
Explain nullable types in c#?
What is the solution if you need to manipulate sets of items?
What are handlers in c#?
How will you deploy the dll file in gac?
What is the use of flag in c#?