My advice is to always start with the simpler choice - List<T> in this case, 
and only switch over if you find that you need more performance in that area.



I wrote some more on that subject here:

http://blogs.msdn.com/ericgu/archive/2006/06/26/647877.aspx

Eric

-----Original Message-----
From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf 
Of Russell Collins
Sent: Tuesday, July 03, 2007 8:42 AM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: [ADVANCED-DOTNET] List<T> vs HashTable

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?  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