public void WriteLine(string textToAppend) { Write(textToAppend); GenerationEnvironment.AppendLine(); endsWithNewline = true; }