Enumerating Static Arrays

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
Mark said:
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.
 
Back
Top