title: Line erased when i write a new line to a .txt file - Windows Forms
body: <p>I'm just a code enthusiast.<br>
  This code is from a chronometer I'm doing and I'm using this code on a button press event. The intent is to write on a .txt file the current time on the chronometer and the time the button was pressed.     </p>
  
  <pre><code> System.IO.StreamWriter filewrite = new System.IO.StreamWriter(@"C:\Users\joaof\source\repos\WindowsFormsApp2\WindowsFormsApp2\Resources\times.txt");
  
   filewrite.Write("\r\n" + label1.Text + "\r\nAt: " + System.DateTime.Now + "\r\n");
   filewrite.Close();
  </code></pre>
  
  <p>The problem is that whenever i click the button again to save a new time it erases the previous one and writes it.</p>
  
  <p><a href="https://i.stack.imgur.com/LShpG.png" rel="nofollow noreferrer">what happens</a></p>
  
  <p><a href="https://i.stack.imgur.com/gITB9.png" rel="nofollow noreferrer">whats supposed to happen</a></p>