How do you implement Inheritance in dot net ?
Answer Posted / mahesh babu ummaneni
Inheritence is nothing but base class properties come to derived class
example
class sample
{
//here we write some members
}
class sampl1:sample
{
//sample members acess here
}
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How do you read an Excel sheet in C#?
Structs are largely redundant in c++. Why does c# have them?
What is a private class in c#?
Can you describe iuknown interface in short?
Is there a way of specifying which block or loop to break out of when working with nested loops?
Explain the difference between abstract class and interface in .net?
How do I unload an assembly?
What is parseexact c#?
What is the difference between firstordefault and first?
What is the difference between System.console.WriteLine() and System.console.Write() function?example?
What is list collection in c#?
How to handle exceptions that are raised in a component?
What are the types of inheritance in c#?
Does c# have its own class library?
What is int32?