Possible Duplicate:
Are C# arrays thread safe?
I have been programming C# for 10 months now. I am now learning multi-threading and seems to be working nicely. I have multi-dimension array like
string[,] test = new string[5, 13];
I have the threads calling methods that end up saving their outputs to different coordinates inside the array above. without any one thread writing to the same location as another thread.
So thread1 might write to test[1,10]
but no other thread will ever write to test[1,10]
My question is: I have read about using locks on objects like my array, do I have to worry at all about locks even though my threads might access to the test array at the same time but never write to the same coordinates(memory location)?
So far in my testing I have not had any issues, but if someone more seasoned than myself knows I could have issue then I'll look into use locks.