public static List <Account> AccountShow() { List <Account> file = new List <Account>(); file = FileOperations.ReadingAccounts("C:\\Users\\Andrzej\\Desktop\\C#test.txt"); return(file); }
//+Bank() //+ Bank(string filepath) //+ bool SearchForAccount(string AccountNb) //+ CheckPin(strin PIN) //+LoadAccounts(string filepath) //+SaveChangesToFile() public static void LoadAccounts(string filepath) { listOfAccounts = FileOperations.ReadingAccounts("C:\\Users\\Andrzej\\Desktop\\C#test.txt"); }