Current Blogs

Archives

2009 July ( 1 Blog )
2009 June ( 1 Blog )
2009 May ( 2 Blogs )
2009 April ( 2 Blogs )

Extracting a Guid from of a string in .NET 02/16/2010 at 07:46 PM

I needed to pull a Guid out of a string (more on why later) and didn't find any quick answers with using Regex, except for Guid syntax validation (e.g. IsMatch) Going from IsMatch to pulling the mat...

0 Comments
Read or Comment

StopWatch Accuracy in .NET 02/15/2010 at 06:33 PM

It appears StopWatch is not reliable for short running processes (e.g. 100ms). So, when I need to measure duration, I use good old fashioned DateTime.NowUtc - DateTime.NowUtc (If you're using DateTime...

0 Comments
Read or Comment