Using Generics and Inheritance to Simplify Development
page 4 of 9
by Brian Mains
Average Rating: 
Views (Total / Last 10 Days): 35642/ 55

The Benefits of Inheritance

Inheritance is not bad as I have stated before.  There are plenty of good designs that involve inheritance.  Everything inherits something anyway.  If there is no direct inheritance, then it inherits from System.Object.

There are many benefits to inheritance. For instance, it makes it easy to implement list or dictionary collections, using the List<T> or Dictionary<K,V> classes.  In addition, inheritance makes it easier to add custom functionality to the base object.  For instance, one can inherit from the GridView or DetailsView class and add additional functionality to it.

View Entire Article

User Comments

Title: Using Generics and Inheritance to Simplify Development   
Name: Meena
Date: 2007-10-26 6:32:53 PM
This article help me a lot to learn generics.

Title: Great Article!   
Name: Mohammad Azam
Date: 2007-09-28 3:18:52 PM
Hi Brain,

Great article as always! Keep up the good work.
Title: Using Generics and Inheritance to Simplify Development   
Name: Brain
Date: 2007-05-12 1:40:08 PM
Outstanding article. It was very informative. Thanks dude.
- Uday.D

Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2024  |  Page Processed at 2024-04-13 11:25:58 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search