示例#1
0
        //add bank info to the collection
        public void AddBankInfo(BankInfo bankInfo)
        {
            CheckBankInfo(bankInfo);              //check that item with this ID doesn't exist and parameter is not null

            banksInfo.Add(bankInfo.ID, bankInfo); //add new BankInfo item to collection
        }