title: Image not displaying at runtime C# WPF
body: <p>I have been trying to learn C# but I'm coming across a lot of problems. I am trying to display an image in WPF but for some reason, the image won't show! It appears on the Visual Studio editor but when I run the application it doesn't appear.</p>
  <p>Here is some of my code:</p>
  <p>This is how I'm trying to display the image:</p>
  <pre><code>&lt;Image HorizontalAlignment=&quot;Left&quot; Height=&quot;100&quot; Margin=&quot;273,147,0,0&quot; 
         VerticalAlignment=&quot;Top&quot; Width=&quot;100&quot; Source=&quot;image.jpg&quot;/&gt;
  </code></pre>
  <p>I have also tried using this:</p>
  <pre><code>Source=&quot;pack://application:,,,/image.jpg&quot;
  </code></pre>
  <p>Thanks for your help!</p>