https://github.com/MihaelaGuja/BankAccountManagementSystem
I want to have the full output in the console of the AccountNumber
, Balance
, InterestRate
, Name
, Location
proprieties when I do a
Console.WriteLine(bank1);
Full code:
SavingsAccount savingsAccount1 = new SavingsAccount(1, 32.43, 4, 123, 1000);
CheckingAccount chheckingAcccount2 = new CheckingAccount(2, 344435, 43, 10000, 1.000, 3.5);
Bank bank1 = new Bank("MER", "str. ...");
bank1.createNewAccount(savingsAccount1);
bank1.createNewAccount(chheckingAcccount2);
Console.WriteLine(bank1);
New contributor
Mihaela Guja is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2