title: Why doesn't it show me the value of a variable when I cast the object containing it?
body: <p>I am currently trying to compare two GolfCard objects, and I have a runner class that calls the method <code>.equals</code>, which I have overridden in my GolfCard class. It works perfectly fine, but when I debug it just to see what's going on, it shows me the value of face of the non casted GolfCard object, but it doesn't show me the value of face of the casted GolfCard object. </p>
  
  <pre><code>if (this.face != ((GolfCard)obj).face)
  </code></pre>
  
  <p>When I highlight over face of the non casted object, it says: </p>
  
  <pre><code>"face(GolfCard) = 11;"
  </code></pre>
  
  <p>But when I highlight over face of the casted object, it says:</p>
  
  <pre><code>"int GolfGame.GolfCard.face"
  </code></pre>
  
  <p>Why does it show me the value of the variable of the non-casted object, but not of the variable of the casted object?</p>