This is a nice trick I ran into when going over the sourcecode for the XML-RPC.NET library:
#if
This lets you run your unit tests when developing, but remember to set your methods to private when releasing.
Posted Saturday, April 02, 2005 7:16 PM by AvnerK | 3 comment(s)