public Account(int ac_number, double balance, ac_type ac_type) { _ac_number = ac_number; _balance = balance; _ac_type = ac_type; Console.WriteLine($"Account {this._ac_number} was created."); }
public void input_data(int ac_number, double balance, ac_type type) { _ac_number = ac_number; _balance = balance; _ac_type = type; }
public Account(double balance, ac_type ac_type) { _balance = balance; _ac_type = ac_type; }
public Account(ac_type ac_type) { _ac_type = ac_type; }