I have been given a database class that writes to List<string> to a .txt .
My issue is I need parse the list into a text field and listbox and edit the information edit/add/remove entry by entry in a new form based on the selected index of the previous form. Now obviously I've gotten as far as getting the class working between the two forms. What I can't figure out is what is the best way to go about searching for the select index of the previous forms listbox and editing just that piece of the .txt. attached is the solution and all the source I'm working off.