Ok, what is up here.
The 2005 framework contains all kinds of cool new structures now that we
have Generics and all but they always seem to fall just short of exactly
what I need.
In 2003 I needed a sets construct and they did not have it so I had to
create one. I am not sure yet if they have one in 2005 yet BTW...
I was dealing with the Dictionary last night and thought it would be a great
way for me to keep a strongly types indexed list of objects and their names.
The problem is that I wanted to be able to access the objects by BOTH index
and name. Boy was I surprised to find that the standard Dictionary object
doe snot guarantee that the order of the items added is reserved.
UGH!
How many times do you see cases in MS apps where you can access a collection
of items by index and name via two overloaded methods?
Workbooks(0)
Workbooks("Book 1")
What the heck to they use behind the scenes? And if they have one why not
share...
UGH.... 3 hours latter I have an OrderedDictiona ry class that I had to put
together myself...
I know they can't anticipate everyone's needs but this one seems like
something that should have made it.
I have to design unit tests for all the cases to test it too.
--
Raymond R Cassick
CEO / CSA
Enterprocity Inc.
www.enterprocity.com
3380 Sheridan Drive, #143
Amherst, NY 14227
V: 716-316-5973
Blog: http://spaces.msn.com/members/rcassick/