110,571
社区成员
发帖
与我相关
我的任务
分享
static clsA()
{
Type myType = typeof(clsA);
try
{
if (!Monitor.TryEnter(myType))
{
Monitor.Enter(myType);
return;
}
}
finally
{
Monitor.Exit(myType);
}
}