title: How to bind simple static string to WPF Label
body: <p>I have a C# .NET 4.5 WPF application, with a  public static class.  Inside that class I have a public static string.  What I want is very simple, I want to bind that static string to a WPF <code>Label</code>, so whenever that string is updated, WPF Label will also get updated.</p>
  
  <p>How can I achieve this with simplest and easiest way</p>
  
  <p>Static class below</p>
  
  <pre><code>public static class GlobalStats
  {
      private static void updateValues()
      {
          srGlobalStatics="example";   
      }
      public static string srGlobalStatics = "";
  }
  </code></pre>
  
  <p>I want my WPF Label bound to that particular <code>srGlobalStatics</code> string.</p>
  
  <p>Here's my XAML code:</p>
  
  <pre><code>&lt;Label Name="lblGlobalStats" Content="lblGlobalStats" HorizontalAlignment="Left"
         Margin="10,36,0,0" VerticalAlignment="Top"/&gt;
  </code></pre>
  
  <p>Isn't this possible ? </p>
  
  <p>I can write a function inside MainWindow.xaml.cs however i don't want to put unnecessary code inside there as much as possible.</p>