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 c# and .net same?
Why do we need constructor in c#?
Which language is used for desktop application?
Explain circular reference in c#?
What is difference between Enum and Struct?
What is the meaning of MSIL?
What is a thread? What is multithreading?
Can we store different data types in arraylist in c#?
What is null in database?
Which of the following API is used to hide a window?
What is cls, cts and clr in net?
What are strongly typed objects?
What is the difference between ref and out in c#?
Can a constructor have a return type?
What are methods c#?