Example #1
0
        /// <summary>
        /// 支付利息.
        /// </summary>
        public void PayInterest()
        {
            _state.PayInterest();

            Console.WriteLine("支付利息 --- ");
            Console.WriteLine(" 账户余额 = {0:C}", this.Balance);
            Console.WriteLine(" 账户状态 = {0}\n",
                              this.State.GetType().Name);
        }