troubleshooting Question

Hashtable entry order

Avatar of folletxavier
folletxavier asked on
2 Comments2 Solutions21249 ViewsLast Modified:
While using java, I used to load objects into hashtables and retreive them - using an enumerator - in the exact same order that I put them in.
This doesn't seem to work using .NET's System.Collections.Hashtable. The order is unfortunately changed.
Is there any other class I can use that will allow me to:
- Put items to the end of the collection?
- Enumerate items in the same order I put them in?
- Retreive items using their key?
- Do all that fast?

Thanks for your help

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros