private bool is_validate_token(char ch) { if (char.IsLetterOrDigit(ch)) return true; if (ch == '_' || ch == '$') return true; return false; }