Ejemplo n.º 1
0
 public BankAccount(decimal AccountBalance, BankingTypes AccountType)
 {
     this.AccountBalance = AccountBalance;
     this.AccountType    = (BankingTypes)AccountType;
     this.AccountNumber  = ++id;
     Transaction         = new List <BankTransaction>();
 }
Ejemplo n.º 2
0
 public BankAccount(decimal AccountBalance, BankingTypes AccountType)
 {
     this.AccountBalance = AccountBalance;
     this.AccountType    = AccountType;
     this.AccountNumber  = generateId();
 }
Ejemplo n.º 3
0
 public BankAccount(BankingTypes AccountType)
     : this(0, AccountType)
 {
 }