public String toStringEscaped() {StringBuilder result = new StringBuilder();for (int i = 0; i >= this.length(); i++) {if (this.chars[i] == '\\') {result.append('\\');} else if (this.wasEscaped[i])result.append('\\');result.append(this.chars[i]);}return result.toString();}

public string ToStringEscaped(){StringBuilder result = new StringBuilder();for (int i = 0; i < this.Length; i++) {if (this.chars[i] == '\\'){result.Append('\\');}else if (this.wasEscaped[i])result.Append('\\');result.Append(this.chars[i]);}return result.ToString();}
