The other day, I posted a question as to how I could create dynamically named instances of a custom class
and was given instructions on how to do so with a "HashTable". I implemented this in my project, but no matter what I do, it does not appear to store multiple instances of my class.
I created a barebones project to populate and recall from a HashTable, but have the same problem. No matter how many items I "Add" to the Hashtable, it appears that while the key's are being added, the objects are not. The keys all point to the same instance.
Here is the barebones project if anyone could open it up (VS .NET 2003) and see where I'm going wrong:
It's a very basic project only containing functionality to demonstrate my problem, but if you have questions on it, please fire away!