This is a nice trick I ran into when going over the sourcecode for the XML-RPC.NET library:
#if
(DEBUG)public
#endif
void Serialize(...)
This lets you run your unit tests when developing, but remember to set your methods to private when releasing.
Tools and Code by Avner Shahar-Kashtan
This is a nice trick I ran into when going over the sourcecode for the XML-RPC.NET library:
#if
(DEBUG)This lets you run your unit tests when developing, but remember to set your methods to private when releasing.