O thread do construtor estático em C # é segur
Em outras palavras, este thread de implementação do Singleton é seguro:
public class Singleton
{
private static Singleton instance;
private Singleton() { }
static Singleton()
{
instance = new Singleton();
}
public static Singleton Instance
{
get { return instance; }
}
}