private void importPasswordsAndUsers() { accounts = new LinkedList(); string accountsDirectory = Environment.CurrentDirectory + @"\Data\accounts.txt"; accounts = f.importToLinkedList(accountsDirectory); passwords = new LinkedList(); string passwordDirectory = Environment.CurrentDirectory + @"\Data\passwords.txt"; passwords = f.importToLinkedList(passwordDirectory); }
void importAccounts() { string accountLocation = Environment.CurrentDirectory + @"\Data\accounts.txt"; FileHandlingUtilites f = new FileHandlingUtilites(); linkedList = f.importToLinkedList(accountLocation); }