@Paradox 技术支持</span>
</p>
public abstract class Base<T> where T : new()
{
private static T _instance;
public static T Instance
{
get
{
if (_instance == null)
_instance = new T();
return _instance;
}
}
}
public sealed class A : Base<A>
{
}