title: C# memory address and variable
body: <p>in C#, is there a way to </p>
  
  <ol>
  <li>Get the memory address stored in a
  reference type variable?</li>
  <li>Get the memory address of a
  variable?</li>
  </ol>
  
  <p>EDIT:</p>
  
  <pre><code>int i;
  int* pi = &amp;i;
  </code></pre>
  
  <ul>
  <li>How do you print out the hex value of pi?</li>
  </ul>