Click here to Skip to main content
15,894,337 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
If write the following method of app.xaml.cs, sent the app to background and then back.
what could happen? Why?
C#
private void Application_Deactivated(object sender, DeactivatedEventArgs e)
 {
     Debug.WriteLine("Application_Deactivated");
     Int64 i = 0;
     while (true)
     {
         Debug.WriteLine("{0}", i++);
     }
     PhoneApplicationService.Current.State["LeftTime"] = DateTime.Now;
 }
Posted

1 solution

I'm torn between deleting your question and giving you a smart-ass response. Maybe just telling you that will give you an idea of my interpretation of the quality of your question.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900