title: using StreamWriter in .NET
body: <p>I have a console application which writes details of the processed jobs into .txt file. I use this code to do it:</p>
  
  <pre><code>StreamWriter jp = new StreamWriter(jobsProcessed);
  jp.WriteLine(DateTime.Now.ToString());
  jp.WriteLine(info);
  jp.WriteLine("------");
  jp.Close();
  </code></pre>
  
  <p>Unfortunately every time a job is being processed new "info" string replaces the previous one. Is there any method to add new text to the end or beginning of the text file?</p>