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
Is friend a constructor?
What does m mean in decimal c#?
What is the compiler of c#?
What is Private Constructor? and it’s use? Can you create instance of a class which has Private Constructor?
What is the components of window?
What is the use of partial methods?
What is Reflection in .NET? Namespace? How will you load an assembly which is not referenced by current assembly?
What framework is used for performance testing/load testing?
Is c# a strongly-typed language?
What is c# most used for?
Why do we need structs in c#?
Explain namespaces in c#.
How do you create partial methods?
Define using statement in c#?
if you do have a stack overflow profile.what is your ranking?