Debug Mode Only Compiler Check
#if DEBUG //Only do if we're in debug mode
#endif
#if !DEBUG //Only do if we're in release mode
#endif
#if (DEBUG && DEBUG_AUTO_LOG_IN_USER_ID)
#endif
Close Application
Windows.ApplicationModel.Core.CoreApplication.Exit();
Restart Application / Soft Reset
You can simply close the app and then the OS will immediately restart it
Feel free to comment if you can add help to this page or point out issues and solutions you have found. I do not provide support on this site, if you need help with a problem head over to stack overflow.