C# set of useful extensions methods