title: MainWindow_Loaded isn't triggered on my WPF Application
body: <p>I'm currently following the <code>Pluralsight C# Fundamentals: Part 1</code> and on the <code>Classes and Objects</code> section the video instructs me to create a new WPF Applicaiton in Visual Studio and fill in the code. This results in the following.</p>
  
  <pre><code>namespace WpfApplication1
  {
      /// &lt;summary&gt;
      /// Interaction logic for MainWindow.xaml
      /// &lt;/summary&gt;
      public partial class MainWindow : Window
      {
          public MainWindow()
          {
              InitializeComponent();
          }
  
          void MainWindow_Loaded(object sender, RoutedEventArgs e)
          {
              Employee e1 = new Employee("Ash");
  
              Employee e2 = new Employee("Lee");
  
              Output.Text = e1.Name + "" + e2.Name;
          }
      }
  }
  </code></pre>
  
  <p>Employee is basically a dummy class which has been defined with a single instance variable <code>Name</code> in order to demonstrate how constructors work.</p>
  
  <p>There is also a <code>TextBlock</code> in my <code>MainWindow.xaml</code> called <code>Output</code> which I am trying to update on the last line of the code.</p>
  
  <p>Initially I had the code contained in <code>MainWindow_Loaded</code> in the constructor <code>MainWindow</code>, the tutorial says this is bad practice and it should look like my first code snippet.</p>
  
  <p>However this stops the application working. My question is what is the problem?</p>
  
  <p>Is the tutorial outdated? Am I running the wrong version? Was it changed in Beta?</p>
  
  <p>Thanks.</p>