title: Using SaveFileDialog as a path specifier for multiple files
body: <p>In my program I am currently using <code>SaveFileDialog</code> to output a .txt file to the user specified path like so:</p>
  
  <pre><code>Microsoft.Win32.SaveFileDialog dlg = new Microsoft.Win32.SaveFileDialog();
  dlg.FileName = "filename.txt";
  
  Nullable&lt;bool&gt; result = dlg.ShowDialog();
  
  if (result == true)
  {
        //Open file, print text, close file
        File.WriteAllLines(dlg.FileName, stringArray);
  }
  </code></pre>
  
  <p>Now I am at a point where I need to add more files to this location. So instead of naming a single file and saving it, I need to name multiple files and save them to the location specified by <code>SaveFileDialog</code>.</p>
  
  <p>I want my new structure to be something like this:</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <pre><code>//Call functions to create string arrays to write to .txt files
  createArrayForFile1();
  createArrayForFile2();
  
  Microsoft.Win32.SaveFileDialog dlg = new Microsoft.Win32.SaveFileDialog();
  dlg.FileName = "File1";
  
  Nullable&lt;bool&gt; result = dlg.ShowDialog();
  
  if (result == true)
  {
        //Create, print, and close both files
        File.WriteAllLines(dlg.FileName, stringArray1);
        directory = Path.GetDirectoryName(dlg.FileName);
        Path.Combine(directory, "File2"); 
  }
  </code></pre>
  
  <p>How do I write several files to a location specified by <code>SaveFileDialog</code>?</p>