title: Generating a random number and putting it in a TextBlock
body: <p>I have created a class which generates a random number: </p>
  
  <pre><code>public class DataGenerator
  {
      public void RandomHRValue()
      {
          Random random = new Random();
          int RandomNumber = random.Next(0, 100);
      }
  }
  </code></pre>
  
  <p>I have then created a XAML file and put the following within the <code>Grid</code>:</p>
  
  <pre><code>&lt;TextBlock Name="a" Text="" Width="196" HorizontalAlignment="Center" Margin="183,158,138,56"/&gt;
  </code></pre>
  
  <p>I haven't done anything to the <code>xaml.cs</code> file. How would I go about putting a random number into that <code>TextBlock</code> every 20 seconds?</p>