title: how can i write line by line in txt data?
body: <p>I try to write line by line data but. if i run my application. writng last text1 data in script.txt </p>
  
  <pre><code>private void button1_Click(object sender, EventArgs e)
  {
     System.IO.TextWriter tw;
     tw = new StreamWriter("C:/Script.txt");
     tw.WriteLine(textBox1.Text);
     tw.Close();
  }
  </code></pre>