public void AddLine(decimal amountOfMoney, Id accountId, Balance balance, in DateTime today)
/// <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()); }
public override string ToString() { return("With annaual interest rate of: " + AnnualRate + "\t Your new balance is:" + Balance.ToString("c")); }