title: C# - Save Variables of a Program
body: <p>I'm making a game now in C# (which is a Console Application) and its variables need to be saved.</p>
  
  <p>I've tried using Settings but there's a big problem about it: If the file name is changed or the file is transferred to somewhere else, the Settings are lost.</p>
  
  <p>So what is a good alternative to Settings for saving variables and retrieving them later in the application?</p>
  
  <p>EDIT: I'd like to save the variables to a text file and retrieve it later, is it possible? If yes, then how?</p>
  
  <p>And please don't suggest online servers, because I'm working on a singleplayer game without keeping tracks of the players whatsoever.</p>