You are designing a Windows Phone 7 application. You need to store data so that it will be available if the application is resumed. What should you recommend?
A.
In the application Deactivated event handler, save data to the PhoneApplicationService.State dictionary. In the application Launching event handler, read the data from the PhoneApplicationService.State dictionary.
B.
In the application Deactivated event handler, save the data to the PhoneApplicationService.State dictionary. In the application Activated event handler, read the data from the PhoneApplicationService.State dictionary.
C.
In the application Closing event handler, save the data to the PhoneApplicationService.State dictionary. In the application Activated event handler, read the data from the PhoneApplicationService.State dictionary.
D.
In application Closing event handler, save the data to the PhoneApplicationService.State dictionary.
E.
In application Launching event handler, read the data from the PhoneApplicationService.State dictionary.