Windows Phone (WP) Question:
Download Questions PDF

How to detect if my application is exiting so I can save state?

Answer:

You can listen to Application.Exit, but this might be too late most of the time. You should listen for the Pause event and save your state there.

Download Windows Phone Interview Questions And Answers PDF

Previous QuestionNext Question
How to restart or shutdown my application programmatically?How to pin an app on the emulator?