遇到的一段面试题:问下面的类运行 Test的时候是否会引起死锁。
public class MyClass
{
public void Test(int num)
if (num > 10)
lock (this)
num--;
Test(num);
}
有没有人给解答一下. 谢谢!