Does More Than One Monitor Improve Productivity?

Coding Horror: Does More Than One Monitor Improve Productivity?

A difficult one this one – I’ve never actually been able to work with 2 same sized monitors, but I have tried to use a laptop and an external monitor at the same time, and personally I found the ‘second’ monitor (the external one is bigger so that would be my primary monitor) to be a distraction – especially if I had a web browser or email application running on it.

Getting the XmlEnumAttribute value for an Enum field

I recently had to convert an Enum back to its original Xml value so I thought I’d share the little method I wrote with you all incase you wondered how to do it yourself.

Method

Example Enum Class

Example usage

An Enum of TestEnumClass.FirstValue will then return “FirstValue”, while TestEnumClass.ThirdValue will return “The Third one”.

Hope you find that useful.