Hello,

As you can see, I no longer maintain this website. In fact, I moved out of development about 5 years ago and have hardly touched any code since. Instead I oversee mobile and desktop application design at a company where we outsource all of our development.

This site still gets lots of traffic (particularly this post), so I’ll leave it here as an archive. A lot of the code samples are probably outdated. But who knows, hopefully theres something here that you can still use.

Cheers.

C# Date Formats

Article here.

NulltoSring

This function retruns a blank “” string, if the supplied Str is Null

private static string NulltoString(string Str)
{
String ret;
if (Str == null)
ret = “”
else
ret = Str;
return ret;
}

First Things First

Welcome to SourceFirst. This WordPress blog is populated using Windows Live Writer.