BitOrchestra.Parser.IsWordChar C# (CSharp) Method

IsWordChar() public static method

Determines wether the given character is valid in a word. Note that digits are not valid as the first character in a word.
public static IsWordChar ( char Char ) : bool
Char char
return bool
        public static bool IsWordChar(char Char)
        {
            int i = (int)Char;
            if (i >= 95 && i <= 122) return true; // _ ` Lowercases
            if (i >= 65 && i <= 90) return true; // Uppercases
            if (i >= 48 && i <= 57) return true; // Digits
            return false;
        }