private int ReadChar () { if (_position < _text.Length) { return _text [_position++]; } else { return -1; } }