public void MoveToEndOfLine() { char c = Peek(); while (c != '\r' && c != '\n' && !EndOfText) { MoveAhead(); c = Peek(); } }