title: cannot convert from 'string' to 'System.Collections.Generic.IEnumerable<string>
body: <p>This is my code:</p>
  
  <pre><code>string path = @"c:\temp\mytext.txt";
  string[] lines = System.IO.File.ReadAllLines(path);
  
  foreach (var line in lines)
  {
      var firstValue = line.Split(new string[] { "   " }, StringSplitOptions.RemoveEmptyEntries)[0];
      Console.WriteLine(firstValue);
  
      System.IO.File.WriteAllLines(@"C:\temp\WriteLines.txt", firstValue);
  }
  </code></pre>
  
  <p>I want to export my first value to a text file. How i can export it?</p>
  
  <p>I get this error:</p>
  
  <blockquote>
    <p>Cannot convert from 'string' to 'System.Collections.Generic.IEnumerable'</p>
  </blockquote>
  
  <p>at this line </p>
  
  <pre><code>System.IO.File.WriteAllLines(@"C:\temp\WriteLines.txt", firstValue);
  </code></pre>