J
Jeff
IDE: vs .NET 2003
OS: xp pro sp2
I need to create a class which can hold a x number of objects... Think of
the class as ArrayList, it can hold x number of objects... But using the
ArrayList doesn't suit entirely here, because I need to add some additional
properties / methods to this class....
I see two approaches to solve this (I'm not sure what is the best approach):
1) Create a new class which inheriating from ArrayList
2) Create a new class which implements interface (IList?)
What is best approach here?
If you suggest usig interface, what interface do you recommend me to use?
IList?
Jeff
OS: xp pro sp2
I need to create a class which can hold a x number of objects... Think of
the class as ArrayList, it can hold x number of objects... But using the
ArrayList doesn't suit entirely here, because I need to add some additional
properties / methods to this class....
I see two approaches to solve this (I'm not sure what is the best approach):
1) Create a new class which inheriating from ArrayList
2) Create a new class which implements interface (IList?)
What is best approach here?
If you suggest usig interface, what interface do you recommend me to use?
IList?
Jeff