A collection of utlity C# methods. Fell free to add your own