1.以下代码中哪里有错误
public class A
    {
        public A(string txt)
        {
     
        }
    }

    public class B:A
    {
        public B(): base(GetTxt())
        {

        }

        private string GetTxt()
        {
            return "hello";
        }
    }
2.如何正确的结束一个线程

3.死循环产生
//引起死循环
public string GoShopping
{
     get 
     { 
         return this.GoShopping;
      }
      set
      {
          this.GoShopping = value;
      }
}

 


 

posted on 2013-12-11 18:01  Jasoncheng  阅读(110)  评论(0)    收藏  举报