Single level inheritance definition with example in C#.Net

Single level inheritance

Acquiring the properties of base class at one level is called single level inheritance. Please code shows, DerivedClass is acquiring BaseClass properties for one time only, i.e called single level inheritance. 






Example:

public class BaseClass
{
}
public class DerivedClass:BaseClass
{
}
Share this post :

Post a Comment

Please give your valuable feedback on this post. You can submit any ASP.NET article here. We will post that article in this website by your name.

 
Support : Ranga Rajesh Kumar
Copyright © 2012. ASP.NET Examples - All Rights Reserved
Site Designed by Ranga Rajesh Kumar