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 are value types and reference types?
What is the main purpose of linq?
What is Implicit conversion in C#?
Can constructor be private c#?
What is a must for multitasking
If multiple interfaces are inherited and they have conflicting method names; What will happen ?
Is it possible to restrict the scope of a field/method of a class to the classes in the same namespace?
Differentiate between response.expires and response.expiresabsolute?
Tell us something about static linking and dynamic linking?
Why do we use interfaces in c#?
What is an escape sequence?
Explain how can I get around scope problems in a try/catch?
How to assign Null value to Var?
What is the difference between finalize() and dispose()?
What is type keyword in c#?