// Adds the specified account. public bool AddAccount(Account account) { if (HasAccount(account)) { return(false); } accounts.Add(account); account.SetName(name + runningNumber); runningNumber += 1; Console.WriteLine(runningNumber); return(true); }