What is the concept of inheritance and how it works in .net?



What is the concept of inheritance and how it works in .net?..

Answer / Ranjeet Kumar Das

Inheritance is a fundamental object-oriented programming (OOP) concept that allows one class (derived or child class) to inherit properties and methods from another class (base or parent class). In .NET, classes can inherit the characteristics of other classes, reducing code duplication. The derived class extends the functionality of the base class by adding new members, overriding existing ones, or providing a different implementation.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

What are the core differences between .NET Languages ?

1 Answers   TCS,


How to send the Mail in C# using ASP.Net ? And my Answer is as follows ?

3 Answers   Intel,


What is .net and why it is used?

1 Answers  


Compare client server application with n-tier application

1 Answers  


Explain the process of compilation in .NET?

1 Answers  


Why SOAP is required?

1 Answers   Alcatel-Lucent,


Tell us what is the difference between struct and class?

1 Answers  


What are the different types of memory in .net?

1 Answers  


Difference between VB.NET and C#. Which is faster ?

16 Answers   TCS,


How to debug failed assembly binds?

1 Answers  


What is the difference between a debug and release build?

1 Answers  


What do you mean by Driver Script?

1 Answers   TCS,


Categories