Are C# structs thread safe?
Well – best practice is that structs should always (except in a few very specific scenarios, and even then at risk) be immutable. And immutable data is always thread safe. So if you followed best practice and made this: struct Data { readonly int _number; public int Number { get { return _number; } } … Read more