Nexus's Threadpool

There is not one, there are many ...

Browse by Tags

All Tags » Languages (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: , ,
Method hiding in c# or the use of new keyword.
Definition: Method hiding or simply put if a method is not overriding the derived method, it is hiding it. Snippet 1: using System; namespace Polymorphism { class Super { public void SomeMethod() { Console.WriteLine("Super Write"); } } class...
Posted: Feb 14 2008, 01:16 AM by Nexus | with 2 comment(s)
Filed under:
F# what's next, G# ?
Well a couple of days ago, i saw on Tweakers.Net that Mickeysoft decided to release a new .Net Language called F#. On the microsoft's research site ( http://research.microsoft.com/fsharp/fsharp.aspx ) following definition is used : "Combining...
Posted: Oct 26 2007, 01:12 AM by Nexus | with no comments
Filed under: