title: Save File to specific folder in c#, using SaveFileDialog
body: <p>I need to save file using SaveFileDialog to specific folder..</p>
  
  <p>For examaple, to save in "c:\MyNewFolder"</p>
  
  <p>if the folder dosent exist so to create it and save, if the folder exist only save..</p>
  
  <pre><code>        String fileName="";
          String date = DateTime.Now.Day+"-"+DateTime.Now.Month+"-"+DateTime.Now.Year;
          SaveFileDialog saveFileDialog1 = new SaveFileDialog();
          saveFileDialog1.FileName = fileName;
          if (saveFileDialog1.ShowDialog() == DialogResult.OK)
          {
              using (Stream s = File.Open(saveFileDialog1.FileName,FileMode.CreateNew))
  
              using (StreamWriter sw = new StreamWriter(s))
              {
                  sw.WriteLine(tbName.Text);
                  sw.WriteLine(tbSummary.Text);
              }
  
          }
  </code></pre>