title: The * operator must be applied to a pointer error in code
body: <p>I can do <code>var b = *myObject;</code> in the immediate window and it gives me a <code>0x123456</code> formatted value. But I can't do this in code. It then says </p>
  
  <blockquote>
    <p>The * or -> operator must be applied to a pointer</p>
  </blockquote>
  
  <p>Why can I do this in the immediate window, but not in code?</p>