//get settings private void Settings() { string setting = adminCarti.GetSettings(); string[] split = setting.Split(';'); int MaxImprumut, ReturnTime, Abateri; MaxImprumut = Convert.ToInt32(split[0]); ReturnTime = Convert.ToInt32(split[1]); Abateri = Convert.ToInt32(split[2]); Persoana.maxImprumut = MaxImprumut; Persoana.nrAbateri = Abateri; Carte.timpDeReturnare = ReturnTime; }