Welcome to WebmasterServe!

FREE TO JOIN! Join us now to engage in informative and friendly discussions about Webmastering, SEO, SEM, Internet Marketing, Programming, Graphic Design, Online Jobs and more. What are you waiting for? Ready to join our friendly community? It takes just one minute to register.

Dismiss Notice

Join WebmasterServe Forums 
Join the discussion! Have a better idea or an opinion? It takes just one minute to register Click Here to Join

Help Me/Question How Is Inheritance Implemented In .net?

Discussion in '.NET Programming' started by steve taylor, Feb 18, 2016.

  1. steve taylor

    Yellow Belt

    Joined:
    Feb 12, 2016
    Messages:
    769
    Ratings:
    +25 / -0
    Inheritance is the process of deriving the feature of base class by the child class it provide reusability means if we write a code. Next time when it is needed then simply used them without any effort because in object oriented programming we concentrate on real time object. Now my question is how to implement inheritance in.net?
     
    #1 steve taylor, Feb 18, 2016 at 11:38 AM
    Last edited: Feb 18, 2016
  2. Manish Mishra

    Yellow Belt

    Joined:
    Dec 22, 2015
    Messages:
    1,025
    Ratings:
    +159 / -0
    Not only with .Net but with all OOPS concept supported languages follow the rule of inheritance.
    What is inheritance?
    In general, a quality that carries out from one thing to another thing and so in languages one member to another or one class to another class.

    A bird class may have, crow, owl, and pigeon as the class member. They have something in common that all of them can fly and they have wings. They lay eggs, etc,
    The class member if they have their own class it can be inherited because of having same nature.
    This is the easiest way to understand the basic of inheritance.
     

Share This Page