Click here to Skip to main content
15,886,740 members
Articles / Programming Languages / C#

Refactoring a Switch Statement

Rate me:
Please Sign up or sign in to vote.
3.33/5 (7 votes)
15 Aug 2009CPOL 56.5K   317   14  
Avoiding a switch statement in order to avoid Cyclomatic complexity.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

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) MphasiS an HP company
India India
I am dotnet programmer

Comments and Discussions