However, all application settings are accessible in read/write mode by using the indexer directly. The following code demonstrates how to modify the connection string using this approach:

//change the application connection string
Properties.Settings.Default["MyAppConnectionString"] = strCnString;
//debug:verify that this really did work
Console.WriteLine(Properties.Settings.Default.MyAppConnectionString);