Add New Skills!

Udemy
Showing posts with label C#. Show all posts
Showing posts with label C#. Show all posts

Tuesday, April 5, 2011

C# Inheritance

A class can inherit from another class to extend or customize the original class












In the example above asset is the base class also known as super class. The class stock is derived from asset class and is called the derived class or subclass. The property 'name' of class asset is reused in class stock.

refer: msdn