Click here to Skip to main content
15,880,796 members
Articles / Programming Languages / C#

Replace State-Altering Conditionals with State

Rate me:
Please Sign up or sign in to vote.
1.89/5 (4 votes)
18 Jun 2009CPOL9 min read 20.8K   7  
Demo on refactoring "Replace State-Altering Conditionals with State" with TDD

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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


Written By
Software Developer
Russian Federation Russian Federation
Education:
National University of Uzbekistan.
Applied Mathematics and Informatics. (2003-2007)

Comments and Discussions