I am absolutely new to programming.
I'm trying to create a very simple app with three TextBoxes and one final TextBlock. I want to save the input from these three TextBoxes locally so I can read and display it in a TextBlock on the bottom of the page in one string.
I have read that the StreamWriter class is what I should be using. I just don't know where to start...
There's basically not a lot of code so far really
public sealed partial class MainPage : Page
{
public MainPage()
{
this.InitializeComponent();
string name = tbxName.Text;
string age = tbxAge.Text;
string dinner = tbxDinner.Text;
string[] answer = { name, age, dinner };
StringWriter saveText = new StringWriter();
StringReader readText = new StringReader(answer.ToString());
}
}
How do I store the input of each TextBox and read and display that input in one string in my TextBlock at the bottom of the page?
I want the app to save and to be able to display the input after the app has been closed and reopened again.
Sorry, I know this is super simple stuff...

locally, you means in a file? If yes, you can save one array item per line, to do so:
and then, at other moment, you can create the
answeragain:Edit: Since you are developing a phone app, its better to use
StorageFile:This will save answer in a file with data separated by
;To read back: