Implement class inheritance

Learn how to create a class hierarchy using base and derived classes and how to hide or override members of a derived class by using newvirtualabstract, and override keywords.  

Learning objectives

  • Describe the principles of class inheritance.
  • Configure base and derived classes.
  • Hide the members of a base class by using the new keyword.
  • Override the members of a base class by using the virtualoverride, and abstract keywords.
  • Access the members of a base class from within a derived class.
  • Implement a class hierarchy in a C# app by using base and derived classes.

https://lernix.com.my/clients

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *