When I write code, I usually use the test-driven development approach, which means that I execute a suite of unit tests very often. In Visual Studio 2005, all artifacts of a test run gets copied to a folder beneath the TestResults folder, which is usually...

Lately, I've been doing comparisons of DateTimes and TimeSpans, and I've been sorely missing functionality for working with ranges, selecting the minimum and maximum, etc. Since both types implement IComparable<T>, I got to think about if I should...

My colleague Michel Baladi has just declared himself not an architect , and I must admit I have the urge to follow him. Although I can't claim Michel's impressive record of more than 20 years in the software business (can this really be true? He doesn...

Last weekend, as I was polishing off Service Locator 2 , I was reminded how Reflection returns properties as methods, as well as as properties. Take this simple class as an example:
public class MyClass { private string myText_; public string MyText...