public bool DeleteSection(string section)
{
if (String.IsNullOrEmpty(section))
{
throw new ArgumentException(CommonResources.Argument_Cannot_Be_Null_Or_Empty, "section");
}
var sectionElement = GetSection(_config.Root, section);
if (sectionElement == null)
{
return false;
}
sectionElement.Remove();
Save();
return true;
}