Maintain a variable value between program runs

Posted by Akshay J on Stack Overflow See other posts from Stack Overflow or by Akshay J
Published on 2012-11-21T01:59:38Z Indexed on 2012/11/21 5:00 UTC
Read the original article Hit count: 187

Filed under:
|
|
|

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.

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.

Is there any other way to do it that wont require any such text file ? Like maintaining a session variable etc ?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET