protected void WriteIf(string condition, string action) { WriteLine("if (" + condition + ")"); Indent++; WriteLine(action); Indent--; }