Re: [ADVANCED-DOTNET] List vs HashTable

2007-07-03 Thread Mike Andrews
There's also the List/Dictionary hybrid that you can use. You can find it at: System.Collections.ObjectModel.KeyedCollection You can access members either through a Key or an index. You must inherit this class, however and provide your own implementation. I do agree with the others, that the si

Re: [ADVANCED-DOTNET] List vs HashTable

2007-07-03 Thread Russell Collins
Thank you Frans and everyone else that chimed in. I think I have enough information to make a good decision. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frans Bouma Sent: Tuesday, July 03, 2007 2:16 PM To: 'Discussion of advanced .NET topics.' Subjec

Re: [ADVANCED-DOTNET] List vs HashTable

2007-07-03 Thread Frans Bouma
> I am looking for just a bucket to store objects in. Then a list is what you need :) FB > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Frans > Bouma > Sent: Tuesday, July 03, 2007 11:39 AM > To: 'Discussion of advanced .

Re: [ADVANCED-DOTNET] List vs HashTable

2007-07-03 Thread Russell Collins
I am looking for just a bucket to store objects in. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frans Bouma Sent: Tuesday, July 03, 2007 11:39 AM To: 'Discussion of advanced .NET topics.' Subject: RE: [ADVANCED-DOTNET] List vs HashTable > I am tryin

Re: [ADVANCED-DOTNET] List vs HashTable

2007-07-03 Thread Frans Bouma
> I am trying to determine if I should use a generic List 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. These aren't really compa

Re: [ADVANCED-DOTNET] List vs HashTable

2007-07-03 Thread Ryan Heath
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 which is a generic version of Hashtable. HTH // Ryan On 7/3/07, Russell Coll

Re: [ADVANCED-DOTNET] List vs HashTable

2007-07-03 Thread Eric Gunnerson
My advice is to always start with the simpler choice - List 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: Di

[ADVANCED-DOTNET] List vs HashTable

2007-07-03 Thread Russell Collins
I am trying to determine if I should use a generic List 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

Re: [ADVANCED-DOTNET] Cross-Server Queries

2007-07-03 Thread Mike Andrews
Thank you. I was all over it like butter on a roll, but was missing just a small piece. Thanks again, Mike On 7/2/07, Matthew Wills <[EMAIL PROTECTED]> wrote: Mike, >> How can I create a JOIN that excludes records based on two columns? If I have one rowset that contains two columns that are

[ADVANCED-DOTNET] FW: Per COM+ app .NET config files - not working

2007-07-03 Thread Charles Gamble
Hi, I would appreciate if anyone could provide any help on this. Thanks again, Charles. From: Charles Gamble Sent: 26 June 2007 16:12 To: 'ADVANCED-DOTNET@DISCUSS.DEVELOP.COM' Subject: Per COM+ app .NET config files - not working Hi al