A hashtable has a different purpose than a list.

You should use a hashtable if you want to access the items in it by a key.
A list behaves like an array, only accessable through an index.

And there is also Dictionary<Key,Value> which is a generic version of Hashtable.

HTH
// Ryan


On 7/3/07, Russell Collins <[EMAIL PROTECTED]> wrote:
I am trying to determine if I should use a generic List<T> or a
HashTable to hold some data objects.  The main thing is that I want to
know if there is general knowledge that one just performs better than
the other.  Any feedback would be greatly appreciated.

===================================
This list is hosted by DevelopMentor(r)  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com


===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to