private volatile static AddVacations _instance = null;
private static Object _locker = new Object();
public static AddVacations Instance
{
get
{
if (_instance == null)
lock (_locker)
if (_instance == null)
_instance = new AddVacations();
return _instance;
}
}
private static Object _locker = new Object();
public static AddVacations Instance
{
get
{
if (_instance == null)
lock (_locker)
if (_instance == null)
_instance = new AddVacations();
return _instance;
}
}
3527

被折叠的 条评论
为什么被折叠?



