public void show(AccountBookViewer viewer) { foreach (Bill bill in list_bill) { bill.accept(viewer); } }
public void accept(AccountBookViewer viewer) { viewer.view(this); }