public static bool IsBracket (char ch) { return (openBrackets + closingBrackets).IndexOf (ch) >= 0; }