public static BankAccounts ProcessBankAccounts(string line)
        {
            int          branch   = processBranch(line);
            int          number   = processNumber(line);
            double       balance  = procesBalance(line);
            string       name     = processName(line);
            BankAccounts accounts = new BankAccounts(branch, number);

            accounts.Deposit(balance);
            ClientAccount client = new ClientAccount();

            client.Name    = name;
            accounts.Title = client;

            return(accounts);
        }
        public static BankAccounts ProcessBankAccountsCSV(string line)
        {
            var          splitAttribute = line.Split(',');
            int          branch         = int.Parse(splitAttribute[0]);
            int          number         = int.Parse(splitAttribute[1]);
            double       balance        = double.Parse(splitAttribute[2].Replace(".", ","));
            string       name           = splitAttribute[3];
            BankAccounts accounts       = new BankAccounts(branch, number);

            accounts.Deposit(balance);
            ClientAccount client = new ClientAccount();

            client.Name    = name;
            accounts.Title = client;
            return(accounts);
        }