C# Extensions for common types and uses