checkingaccount.cs
来自「OOP With Microsoft VB.NET And Csharp Ste」· CS 代码 · 共 33 行
CS
33 行
using System;
namespace TheBank
{
/// <summary>
/// Summary description for CheckingAccount.
/// </summary>
public class CheckingAccount :TheBank.BankAccount
{
public CheckingAccount(string owner):base(owner)
{
}
override public decimal Withdraw(decimal amount)
{
base.Withdraw(amount);
base.Withdraw(0.25M);
return this.Balance;
}
override public string ID
{
get
{
return this.m_owner + "-C";
}
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?