title: Maintain a variable value between program runs
body: <p>I have a simple c# console application that is scheduled after every 5 mins. Every invocation of the program requires the output of the last run.  </p>
  
  <p>What I am doing right now is using a text file and store the result in it. next time when it runs it opens the text file and know the output of the previous run.</p>
  
  <p>Is there any other way to do it that wont require any such text file ?
  Like maintaining a session variable etc ?</p>