title: Adding double quotes in <a> using C#
body: <p>I have below code behind in c#      </p>
  
  <pre><code>        if (Session["cmpDictionaryTitle"]!= null)
                  {
                      downloadLinks.Text += @"&lt;li&gt;&lt;a onclick='pageTracker._trackEvent('dictionary', 'spanish');' target ='_blank' href=" + Session["cmpDictionaryTitle"] + "&gt;" + GetResourceString("c_DictionaryPDFName") + "&lt;/a&gt;&lt;/li&gt;";
                  }
  </code></pre>
  
  <p>I am trying to make below <code>&lt;a&gt;</code> link as shown below:</p>
  
  <pre><code>&lt;li&gt;&lt;a target ="_blank" href="/spa/Images/Diccionario_tcm25-18044.pdf" onclick="pageTracker._trackEvent('dictionary', 'spanish');"&gt;Diccionario de Español-Inglés GRATIS&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>However my c# code is generating below output when html page get renders, the reason is that I am not able to put proper quotes in my code behind.</p>
  
  <pre><code>&lt;li&gt;&lt;a );="" spanish="" ,="" dictionary="" onclick="pageTracker._trackEvent(" href="/spa/Images/Diccionario_tcm25-18044.pdf" target="_blank"&gt;Diccionario de Español-Inglés GRATIS&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>Can you please suggest how can I achieve above result in code behind.</p>
  
  <p>Thanks &amp; Best Regards</p>