public void Deposite(decimal amount) { System.Console.WriteLine($"{this.owner}存款{amount}元"); state.Deposite(amount); System.Console.WriteLine($"现在余额为{this.Balance}"); System.Console.WriteLine($"现在状态为{this.state.GetType().ToString()}"); System.Console.WriteLine("-----------------------------"); }