how to delete object b, after setting object a to it, but not remove object a aswell?
<p>I'm trying to do this:</p>

<pre><code>   Data4JS D4JS = (Data4JS)GlobalHelper.GetCurrentSession()["Data4JS"];
    GlobalHelper.GetCurrentSession()["Data4JS"] = null; 
    return D4JS;
</code></pre>

<p>Problem is it sets D4JS to null as well, I don't really want to split my code up into a few method calls, how else can I acheive this easily?</p>
