public Bank(string name, bool Default) { this.Name = name; this.Default = Default; if (Default) DefaultBank = this; Banks.Add(this); }
public Bank(string name, bool Default, float openfee, float initialholding, int interestinterval) { this.Name = name; this.Default = Default; this.OpenFee = openfee; this.IntialHolding = initialholding; this.InterestInterval = interestinterval; if (Default) DefaultBank = this; Banks.Add(this); }