Problem : I have been trying to follow some WCF Data Services examples and have the following code: private void […]

Problem : Here’s a simple WinForms app: using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsFormsApplication { […]

Problem : I have created a dll using command line (csc). Suppose that dll contains Add(int,int) method. Now I want […]

Problem : Let’s say we have DateTime t1 = DateTime.Parse(“2012/12/12 15:00:00.000”); and DateTime t2 = DateTime.Parse(“2012/12/12 15:03:00.000”); How to compare […]

Problem : Being primarily a C++ developer the absence of RAII (Resource Acquisition Is Initialization) in Java and .NET has […]