예제 #1
0
        /*===============================ISWHITESPACE===================================
        **A wrapper for char.  Returns a boolean indicating whether    **
        **character c is considered to be a whitespace character.                     **
        *  ==============================================================================*/
        // Determines whether a character is whitespace.
        public static bool IsWhiteSpace(char c)
        {
            if (IsLatin1(c))
            {
                return(IsWhiteSpaceLatin1(c));
            }

            return(CharUnicodeInfo.GetIsWhiteSpace(c));
        }