Exemple #1
0
 public void addDato(Dato a)
 {
     datos.Add(a);
     initYList(a);
     initLoanList(a);
     initHousingList(a);
     initDebtList(a);
     initJobsList(a);
     initEducationList(a);
     initMaritalList(a);
 }
        public void AddDato(string id, string age, string job, string marital, string education, string debt, string balance, string housing, string loan, string y)
        {
            Dato p = new Dato(age, job, marital, education, debt, balance, housing, loan, y);

            this.classifiedBank.Add(id, p);
        }
        private void AddDato(string[] attributes, int id)
        {
            Dato p = new Dato(attributes[0], attributes[1], attributes[2], attributes[3], attributes[4], attributes[5], attributes[6], attributes[7], attributes[8]);

            dataSetBank.Add(id + "", p);
        }