Wdrożenie Singleton
public sealed class Singleton {
private static readonly Singleton INSTANCE = new Singleton();
private Singleton() {}
public static Singleton Instance {
get {
return INSTANCE;
}
}
}
Adorable Anteater