I have a console application which writes details of the processed jobs into .txt file. I use this code to do it:
StreamWriter jp = new StreamWriter(jobsProcessed);
jp.WriteLine(DateTime.Now.ToString());
jp.WriteLine(info);
jp.WriteLine("------");
jp.Close();
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?