# Threading update...what I actually do...

<datetime class="hidden">2004-07-06T00:00</datetime>
<!-- category -- mostlylucidcouk, Imported -->

Should mention I suppose the I lied in yesterdays post on threading using .NET...mea cupla :-). In that post I mentioned using delegates for multi-threading and said that you always had to use EndInvoke to avoid a memory leak...well not quite, what i actually do is use the excellent [AsyncHelper class by Mike Woodring](http://www.bearcanyon.com/dotnet/#FireAndForget), this supports this syntax: 

CalcAndDisplaySumDelegate d = new CalcAndDisplaySumDelegate(someCalc.Add);
AsyncHelper.FireAndForget(d, 2, 3);

No EndInvoke required as it takes care of this using a DynamicInvoke internally. Well, saves a few lines of code!