title: C# StringBuilder - how to escape this string:
body: <pre><code>&lt;document.write("&lt;SCR"+"IPT TYPE='text/javascript' SRC='"+"http"+(window.location.protocol.indexOf('https:')==0?'s':'')+"://"+gDomain+"/"+gDcsId+"/wtid.js"+"'&gt;&lt;\/SCR"+"IPT&gt;");
  </code></pre>
  
  <p>I need to escape the string above in order to add the whole thing to a StringBuilder but so far I must be missing something because string termination is not correct...</p>