title: How to access fields from another class
body: <p>Hello I have a WPF/C# application with 2 windows.
  I am trying to access a</p>
  
  <pre><code>public int myInt;
  </code></pre>
  
  <p>in my MainWindow from my OtherWindow:</p>
  
  <pre><code>MainWindow.myInt =3;
  </code></pre>
  
  <p>intellisense wont even allow me to access the variable.</p>
  
  <p>Could someone please help?</p>