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

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
Comment:
This article help me a lot to learn generics.

Thanks
Title: Great Article!   
Name: Mohammad Azam
Date: 2007-09-28 3:18:52 PM
Comment:
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
Comment:
Outstanding article. It was very informative. Thanks dude.
- Uday.D






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


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-05-08 3:04:28 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search