Is there a way using Isolated storage ie a Text document, to grab the text on a certain line.
I would like to save variables to a text document on my settings page of my app. Then go back to the main page and read the variable saved on line 3. I already know how to save them. just not read certain lines.
Also is the text document created by my app going to still be there if i close and reopen the app?
Try this
However, you might be better off using the
IsolatedStorageSettingsclass to store settings (the link contains example usage). Another option is to put all your settings into a serializable class and use anXmlSerializerto save / read the settings. Both these approaches would not require parsing the file manually.