A Less Ugly Switch Statement For C#(www.lostechies.com)

submitted by arikparikp(1204) 1 year, 7 months ago

I know switch statements are considered “evil” because they are very procedural code, they violate the Open-Closed Principle, etc etc. But every now and then I don’t see a need to do anything more than a switch statement because the complexity of the scenario does not need anything more, and the code’s maintainability is not going to be so adversely affected by it. ...

1 comment |category: |Views: 25

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by sdormansdorman(1415) 1 year, 7 months ago 0

Interesting post, but don't really see the point.

Reply

information Login or create an account to comment on this story