Exit iOS and Android mobile app with Xamarin

Call this function to close the app:

System.Diagnostics.Process.GetCurrentProcess().CloseMainWindow();

Other posts