Is Array.Contains thread safe in the following context.
A static array is declared and initialized with 4 elements in a function.
Static validRotations() As Integer = {0, 90, 180, 270}
It is then only accessed using validRotations.Contains(rotation) in the same function.
The function is called at any time from many different threads.
In general, immutable structures are thread safe.
If the data never changes, you can access it safely from multiple threads.
Issues with multi-threading only occur when you change data (update/add).