✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
public sealed class Singleton
{
private static Singleton instance;
private Singleton() { }
public static Singleton Instance
{
get
{
if (instance == null)
instance = new Singleton();
return instance;
}
}
}
Яку проблему має цей код?