Results 1 to 4 of 4

Thread: collections vs hashtable

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2005
    Posts
    127

    collections vs hashtable

    I noticed that you can insert an object into a collection with a key and also retrieve the object by the key. Does the retrieve by key function of a collection work the same as a hashtable? Is it slower or faster?

    I plan to use sql to return data from a database already sorted and then put the data into a hashtable. The data is already pre-sorted. I just need the hashtable to be ordered by how the data is added.
    Last edited by daemonk; Feb 2nd, 2008 at 09:57 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width