Exemplo n.º 1
0
        public Bank(string name, bool Default)
        {
            this.Name = name;
            this.Default = Default;

            if (Default) DefaultBank = this;

            Banks.Add(this);
        }
Exemplo n.º 2
0
        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);
        }