title: How to insert a string into a RichTextBox
body: <p>I am trying to input a string into a richtextbox, although I get the following error:</p>
  
  <pre><code>Cannot implicitly convert type 'string[]' to 'string'
  </code></pre>
  
  <p>Code as follows:</p>
  
  <pre><code>private void testing_Click(object sender, EventArgs e)
  {
      // Get a ScheduledTasks object for the computer named "DALLAS"
      string machineName = (@"\\" + System.Environment.MachineName);
      ScheduledTasks st = new ScheduledTasks(machineName);
      // Get an array of all the task names
      string[] taskNames = st.GetTaskNames();
      richTextBox6.Text = taskNames;
  
      // Dispose the ScheduledTasks object to release COM resources.
      st.Dispose();
  
  }
  </code></pre>