title: Xamarin Android Pop-up window
body: <p>I used code from developer.xamarin site, but it does not work, i think that i miss some "using" files.</p>
  
  <pre><code>var alertButton2 = new Button { Text = "DisplayAlert Yes/No" }; // trigger alert
  alertButton2.Clicked += async (sender, e) =&gt; {
  var answer = await DisplayAlert ("Question?", "Would you like to play a game", "Yes", "No");
  Debug.WriteLine("Answer: " + answer); // writes true or false to the console
  </code></pre>
  
  <p>Thanks for all answers.</p>