.net: Retain TextBox value between app launches
I have a TextBox in my .NET application that control various settings in my application.  The values entered are likely remain the same on each execution of the app.  I'd like the data to be retained so on the next launch of the application the values are already populated. 

What's the best way to handle this?  Write out the values to a file on ApplicationExit and then reread them on launch?  There's got to be a more clever way...

Thanks. 
.net: Retain TextBox value between app launches
===

I have a TextBox in my .NET application that control various settings in my application.  The values entered are likely remain the same on each execution of the app.  I'd like the data to be retained so on the next launch of the application the values are already populated. 

What's the best way to handle this?  Write out the values to a file on ApplicationExit and then reread them on launch?  There's got to be a more clever way...

Thanks. 