Hi dfoderick, 1. If you look from the OO Design point of view, then we have 2 philosophies: Design by Inheritance versus Design by Delegation. And often, delagation is preferable over inheritance. (but not always of course.) 2. From your cited article, we have:
A. Design by Inheritance: First Approach: Inheriting from Existing Collection Classes Second Approach: Inheriting from CollectionBase and DictionaryBase B. Design by Delegation: Third Approach: Containing Existing Collection Classes 3. Fowler's 'Encapsulate
Collection' method is the same as 1.B. Design by Delegation.
Where there is a will, there is a way.
and where there is a team, there is more than one way.
Phuoc
Participant
1150 Points
230 Posts
Re: How to use collections? (C# Newbie)
Aug 28, 2003 11:32 PM|LINK
and where there is a team, there is more than one way.