In VB.NET there is an option to "Automagically save settings on exit" is there an equivalent option in C# or does one need to write the following code?"
private void frmMain_FormClosing(object sender, FormClosingEventArgs e)
{
Properties.Settings.Default.Save();
}