public bool DepositInto(IAccount dest, ulong amount) { lock (this) { if (!CanAfford(amount)) { return(false); } SubtractBalance(amount); } lock (dest) { dest.AddBalance(amount); } return(true); }