觀測者模式

public class ATM:BankAccount { public override void Withdraw() { Console.WriteLine("ATM BankAccount Withdraw succeed"); } } public abstract class BankAccount { public virtual void Withdraw() { } List<
相關文章
相關標籤/搜索