title: string.Format alternatives
body: <p>I think verbatim (multiline) strings in C# is a really great idea. I used to copy SQL from/to code minimizing typo errors.
  Actually I need to render some javascript and I hit the wall.</p>
  
  <p>The need of double quotes can be partially avoided using apostrophes in javascript, but in case you need format strings you also have to escape curly brackets:</p>
  
  <pre><code>Page.ClientScript.RegisterClientScriptBlock(this.GetType(), this.GetType().FullName, @"
  &lt;script type=""text/javascript""&gt;
   $(document).ready(function() {
    $('#my_button').click(function() {
     alert('Handler for .click() called.');
    });
   });
  &lt;/script&gt;
  ");
  </code></pre>
  
  <p>looks like with string.Format</p>
  
  <pre><code>Page.ClientScript.RegisterClientScriptBlock(this.GetType(), this.GetType().FullName, string.Format(@"
  &lt;script type=""text/javascript""&gt;
   $(document).ready(function() {{
    $('#{0}').click(function() {{
     alert('Handler for .click() called.');
    }});
   }});
  &lt;/script&gt;
  "), buttonName);
  </code></pre>
  
  <p>I do not want to compromise speed of formating execution just to have easier life while coding using some sort of formating string preprocessing.
  I hope there is some smart and easy way. Just do not want to reinvent wheel...</p>
  
  <p>Thanks</p>