title: Create a (text) file using FolderBrowserDialog
body: <p>I created a notepad, however i want to save the file using the FolderBrowserDialog. Now i can't save the file because of this error: An unhandled exception of type 'System.NotSupportedException' occurred in mscorlib.dll</p>
  
  <p>Additional information: The specified path is not supported.</p>
  
  <p>this is the code i enterd:</p>
  
  <pre><code>private void Create_button_Click(object sender, EventArgs e)
      {
          DialogResult dialogResult = MessageBox.Show("Are you sure to make the file", "Sure?", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
          if (dialogResult == DialogResult.Yes)
          {
              FolderBrowserDialog openfiledalog1 = new FolderBrowserDialog();
  
              if (openfiledalog1.ShowDialog() == System.Windows.Forms.DialogResult.OK)
              {
  
                  string[] files = Directory.GetFiles(openfiledalog1.SelectedPath);
  
                  StreamWriter File = new StreamWriter(files + "." + groupBox3);
                  File.Write(textBox4);
  
              }
          }
          else if (dialogResult == DialogResult.No)
          {
  
          }
      }
  </code></pre>
  
  <p>can somebody help me?</p>