in sampleAppXamarin/ButtonPage.xaml.cs [16:23]
async void Crash_Clicked(object sender, EventArgs e)
{
var crash = await DisplayAlert("The app will close", "A crash report will be sent when you reopen the app", "Crash app", "Cancel");
if (crash)
{
Crashes.GenerateTestCrash();
}
}