C# and beforefieldinit Implementing the Singleton Pattern in C# Is the C# static constructor thread safe? Static Constructors Demystified