title: C# code to execute code in another application domain?
body: <p>I have a program that executes for 24 hours, then restarts.</p>
  
  <p>How can I shift <strong>main()</strong> from into a separate application domain, which is torn down and refreshed every 24 hours, in order to completely eliminate any potential memory leaks?</p>