title: Dispatcher - RunAsync UWP
body: <p>I used this code thinking that the app did not stop but it was not like that.
  How do you correctly dispatcher - RunAsync in UWP?</p>
  
  <p>Code:</p>
  
  <pre><code>public sealed partial class MainPage : Page
  {
      List&lt;Grid&gt; listaGrid = new List&lt;Grid&gt;();
      public MainPage()
      {
          this.InitializeComponent();
      }
  
      private async void Button_Click(object sender, RoutedEventArgs e)
      {
          await Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () =&gt; {
              for (int a = 0; a &lt;= 10000000; a++)
              {
                  listaGrid.Add(new Grid());
              }
          });
      }
  }
  </code></pre>
  
  <p>How can I correctly use Dispatcher - RunAsync?</p>
  
  <p>Always thank you in advance..!</p>