I am developing a Windows Phone 8 application.
How can I exit or quit programmatically (through code) from my Windows Phone 8 app?
What are
while (((PhoneApplicationFrame)App.Current.RootVisual).CanGoBack) { ((PhoneApplicationFrame)App.Current.RootVisual).RemoveBackEntry(); }