title: How can I add an ampersand for a value in a ASP.net/C# app config file value
body: <p>I've got a C# program with values in a config file.  What I want is to store ampersands for an url value like...</p>
  
  <pre><code>&lt;appSettings&gt;
    &lt;add key="myurl" value="http://www.myurl.com?&amp;cid=&amp;sid="/&gt;
  &lt;/appSettings&gt;
  </code></pre>
  
  <p>But I get errors building my site.  The ampersand is not allowed.  I've tried various forms of escaping the ampersands to no avail.  Anyone know of the correct form to do this?  All suggestions are welcome.</p>