Browse by Tags
All Tags »
Languages (
RSS)
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...
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...
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...