internal Account(string name, OpeningDate myDate, ClientAddress address, double balance) { this.Id = (++serialNo).ToString(); this.Name = name; this.MyDate = myDate; this.Address = address; this.Balance = balance; }
internal Savings(string name, OpeningDate myDate, ClientAddress address, double balance) : base(name, myDate, address, balance) { }