Beispiel #1
0
 public void AddLine(decimal amountOfMoney, Id accountId, Balance balance, in DateTime today)
Beispiel #2
0
 /// <summary>
 /// Returns a string that represents the current object.
 /// </summary>
 /// <returns>A string that represents the current object.</returns>
 public override string ToString()
 {
     return(AccountNumber.ToString() + " " + Firstname + " " + Lastname + " " + Balance.ToString() + " " + accountType.ToString() + " " + Bonus.ToString());
 }
Beispiel #3
0
 public override string ToString()
 {
     return("With annaual interest rate of: " + AnnualRate + "\t Your new balance is:" + Balance.ToString("c"));
 }