title: VB.Net Writing to Txt File
body: <p>I'm trying to write the content of my textbox to a txt file.</p>
  
  <p>My code works fine but my error is, when I open txt file I see</p>
  
  <pre><code>writeline1writeline2writeline3
  </code></pre>
  
  <p>instead of</p>
  
  <pre><code>writeline1
  writeline2
  writeline3
  </code></pre>
  
  <p>my code;</p>
  
  <pre><code>result As List(Of String) = New List(Of String)
  convertedText.Lines = result.ToArray()
  My.Computer.FileSystem.WriteAllText(mypath &amp; "\convertedcontent.txt", convertedText.Text, False)
  </code></pre>
  
  <p>Writing to .csv and many other file types work fine but I don't know how to break lines for text file.</p>
  
  <p>Thanks in advance</p>