Nexus's Threadpool

There is not one, there are many ...

Browse by Tags

All Tags » Languages » C# (RSS)
Event Raising the good, the bad and the ugly ...
So you need to raise an event, and wanna do it in a threadsafe way, or safer way :) Not so long ago i wrote this code : ... public event EventHandler Save; ... private void OnSave(EventArgs e) { if(Save != null) Save(this,EventArgs.Empty); } What is wrong...
Posted: Sep 15 2008, 04:14 AM by Nexus | with no comments
Filed under: , ,