Get Pointer address
<p>How can i get pointer address of object.
i try this code:</p>

<pre><code>GCHandle handle = GCHandle.Alloc(obj, GCHandleType.Pinned);
IntPtr ptr = handle.AddrOfPinnedObject();
</code></pre>

<p>But when i send my own defined class as object to this function an error occur.</p>

<p>plz help me</p>
