Greg Gates wrote: > 2) What is the most efficent way to sort and filter a hashtable in .NET.
Hash tables are not stored in any ordered fashion. Retrieval will appear to be random based on the hash algorithm used. Of course, you can retrieve all the items and use your own sorting system as necessary. If you need a collection that stays ordered (by key, generally), you should be looking for something more like a tree than a hash table. Nothing like that ships with .NET that I'm aware of... Brad -- Read my web log at http://www.quality.nu/dotnetguy/ You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.