コード例 #1
0
ファイル: History.cs プロジェクト: hyde777/Kata-Bank-Binome
 public void AddLine(decimal amountOfMoney, Id accountId, Balance balance, in DateTime today)
コード例 #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());
 }
コード例 #3
0
 public override string ToString()
 {
     return("With annaual interest rate of: " + AnnualRate + "\t Your new balance is:" + Balance.ToString("c"));
 }