Get pointer (IntPtr) of int value
<p>How I can get an Intptr pointer of integer value?</p>

<p>I was trying to do that it work. Are any other variants?</p>

<pre><code>GCHandle gCHandle = GCHandle.Alloc (size, GCHandleType.Pinned);
IntPtr sizePtr = gCHandle.AddrOfPinnedObject ();
</code></pre>
