コード例 #1
0
 public bool CheckBalanceAndTransactions(decimal balance, AccountTransactions transactions)
 {
     return(balance == transactions.Sum(x => x.Amount));
 }