title: Location to store temporary files created by a WinForms application
body: <p>How can I get the folder in which a C# WinForms executable file is located?</p>
  
  <p>My program generates some temporary files and I am wondering if the location of the executable is a safe location to place them.</p>