Define in the var of function

  public Account(int initial)
                        --------  here has int
    {
        balance = initial;
    }

  static void Main()
    {
        Account acc = new Account(1000);
                                                ------ here has not int
   ...
    }
posted @ 2009-10-04 16:22  greencolor  阅读(152)  评论(0编辑  收藏  举报