Hi

I want to place a static string array in a server component. Will this pose any access conflicts, if multiple people are simultaneously using the foreach loop on this array. I wanted to use an array because the values are fixed and an array does not have the overhead of the collection objects

Thanks
Mark

Re: Enumerating Static Arrays by Jon

Jon
Mon May 24 08:03:10 CDT 2004

Mark <anonymous@discussions.microsoft.com> wrote:
> I want to place a static string array in a server component. Will
> this pose any access conflicts, if multiple people are simultaneously
> using the foreach loop on this array. I wanted to use an array
> because the values are fixed and an array does not have the overhead
> of the collection objects.

Nope, that's absolutely fine.

--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too