Monthly Archive: December 2011

How to: Convert a string into an Enum in C#.Net

Recently I came across the need to convert a string stored in the database into an enumeration in our application. I wasn’t really excited about having to write a switch statement nor having to...

How to: Print a screenshot on a Mac

Apparently after some research there is no way to directly print your screen on a Mac. What I recommend is simply taking a screenshot and saving it to the desktop and then printing that...