static bool BracketsMatch(char left, char right) { return(LeftBrackets.IndexOf(left) == RightBrackets.IndexOf(right)); }
static bool IsLeftBracket(char ch) => LeftBrackets.Contains(ch);
static bool BracketsMatch(char left, char right) { return(LeftBrackets.IndexOf(left) == RightBrackets.IndexOf(right)); }
static bool IsLeftBracket(char ch) => LeftBrackets.Contains(ch);