private static T ins;
public static T Ins
{
get
{
if(ins == null)
{
ins = new T();
}
return ins;
}
}
标签:return,get,ins,static,单例,null From: https://www.cnblogs.com/MFC6666/p/17101171.html