Unit testing .NET code

Unit testing is a very effective way to test code and find errors as early as possible. It also allows you to refactor code with much less fear of breaking something. The Code Project has a nice introductory article on unit testing code in the .NET framework with NUnit.