int IsNewLine() { int found = 0; if (position < content.Length && content[position] == '\r') { found++; } if (position+found < content.Length && content[position+found] == '\n') { found++; } return found; }