3 ms·
I doubt that statement is correct.
by lostmsu 9y ago
I doubt that statement is correct.
- johncolanduoni 9y agoIt is, Jon Skeet (as usual) has a great blog post on it that even discusses Java: http://csharpindepth.com/Articles/General/Singleton.aspx http://csharpindepth.com/Articles/General/Singleton.aspx Specifically the "third version" exposes the object before the effects of construction are necessarily visible on other threads.