System.DomainNameHelper.IsASCIILetter C# (CSharp) Method

IsASCIILetter() private static method

private static IsASCIILetter ( char character, bool &notCanonical ) : bool
character char
notCanonical bool
return bool
        private static bool IsASCIILetter(char character, ref bool notCanonical) {

            if (character >= 'a' && character <= 'z')   return true;

            if (character >= 'A' && character <= 'Z')
            {
                if (!notCanonical) notCanonical = true;
                return true;
            }
            return false;
        }
        //