A set of useful C# extensions