C # save files

SaveFileDialog sfd = new SaveFileDialog();
sfd.Filter = “Excel spreadsheet (*.xlsx)|* .xlsx”;
sfd.FilterIndex = 1;
sfd.RestoreDirectory = true;
if (sfd.ShowDialog() == DialogResult.OK)
{