private char GetMatchCloseCharacter(char c) { return(MatchingCharacters.First(pair => pair.Key == c).Value); }
protected virtual char GetMatchOpenCharacter(char c) { return(MatchingCharacters.First(pair => pair.Value == c).Key); }
private char GetMatchOpenCharacter(char c) { return(MatchingCharacters.First(pair => pair.Value == c).Key); }
protected virtual char GetMatchCloseCharacter(char c) { return(MatchingCharacters.First(pair => pair.Key == c).Value); }