System.Resources.UriUtility.IntToHex C# (CSharp) Method

IntToHex() private static method

private static IntToHex ( int n ) : char
n int
return char
        private static char IntToHex(int n)
        {
            if (n <= 9)
                return (char)(n + (int)'0');
            else
                return (char)(n - 10 + (int)'a');
        }