G
Gary van der Merwe
Hi
I want to write my own collection object. I want it to have the following
features.
1.. It must be strongly typed (to a Class that I have written).
2.. I should be able to add and remove items dynamically.
3.. It should have an indexer. This will have a string parameter. The
indexer should return the first item that's ID property is equal to the
parameter. These collections will generally contain less than 10 items, so I
don't intend to use a HashTable.
I really don't know where to start. Dose any one know where I can find a
sample which dose something like this?
Gary
I want to write my own collection object. I want it to have the following
features.
1.. It must be strongly typed (to a Class that I have written).
2.. I should be able to add and remove items dynamically.
3.. It should have an indexer. This will have a string parameter. The
indexer should return the first item that's ID property is equal to the
parameter. These collections will generally contain less than 10 items, so I
don't intend to use a HashTable.
I really don't know where to start. Dose any one know where I can find a
sample which dose something like this?
Gary