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
   ...
    }
原文地址:https://www.cnblogs.com/greencolor/p/1577995.html