자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
// Deposits the amount in to an account if the amount is valid. public bool Deposit(Account to, Money amount) { try { to.makeDeposit(amount); return(true); } catch (InvalidOperationException e) { return(false); } }