Set of common extensions/helper methods for programming in c# 4.0