Пример #1
0
 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.");
 }
Пример #2
0
 public void input_data(int ac_number, double balance, ac_type type)
 {
     _ac_number = ac_number;
     _balance   = balance;
     _ac_type   = type;
 }
Пример #3
0
 public Account(double balance, ac_type ac_type)
 {
     _balance = balance;
     _ac_type = ac_type;
 }
Пример #4
0
 public Account(ac_type ac_type)
 {
     _ac_type = ac_type;
 }