Click here to Skip to main content
15,896,118 members
Articles / Programming Languages / C#

Preventing stubbed methods from being released

Rate me:
Please Sign up or sign in to vote.
5.00/5 (5 votes)
14 Oct 2011CPOL 7.3K   1  
Nice tip! I'm also a proponent of using your friend the preprocessor to stop you from making big mistakes, along with your best friend, the compiler.You can combine both using this alternative code:private bool ValidateUserDetails(string userName, string password){ //TODO: Default value...

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Frontier Developments
France France
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions