I'm trying to do this:
Data4JS D4JS = (Data4JS)GlobalHelper.GetCurrentSession()["Data4JS"];
GlobalHelper.GetCurrentSession()["Data4JS"] = null;
return D4JS;
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?