This is in the nature of the hashtable. all elements are sorted by the hash of the key as mention here: http://msdn.microsoft.com/en-us/library/system.collections.hashtable.aspx[^] "Represents a collection of key/value pairs that are organized based on the hash code of the key." Use List< KeyValuePair< T,T > >
for that unless you need an efficient by-key retrieval And please post code that compiles for others, like keep consistent field names (what is parameters?) and post code that works without rewriting all of your format variables.
modified on Thursday, June 11, 2009 1:58 AM