Thread safety in C# arrays

Posted by Betamoo on Stack Overflow See other posts from Stack Overflow or by Betamoo
Published on 2010-05-09T19:38:48Z Indexed on 2010/05/09 19:48 UTC
Read the original article Hit count: 209

Does having 2 different threads :

  • one reading from a C# array (e.g from first location),
  • and another one writing to the same C# array but to a different location(e.g to the last location)

is thread safe or not?
(And I mean here without locking reading nor writing)

© Stack Overflow or respective owner

Related posts about c#

Related posts about multithreading