What is Inheritance in C#?

Answer Posted / nashiinformaticssolutions

An object-oriented programming technique called inheritance allows one class to inherit the traits and attributes of another class. This makes it simple for users to extend and reuse preexisting characteristics or actions.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is class method?

676


What is argument in c#?

713


Define a jagged array in c#?

680


What is the property of class?

789


What is the base class of all classes in c#?

743


what are windows services?

741


How to block a class from being inherited further?

698


In which order the constructor is called for an inherited class?

737


In c#, what will happen if you do not explicitly provide a constructor for a class?

754


Can you create an instance of a static class?

774


Can scriptable objects have methods?

696


Which is faster dictionary or hashtable?

659


How does bitwise xor work?

667


Why delegates are safe in c#?

648


What do you mean by serialization in .NET?

751