title: How to put a variable inside a html String, in c# codeBehind
body: <p><a href="https://i.stack.imgur.com/y7LFi.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/y7LFi.jpg" alt="enter image description here" /></a></p>
  <p>The idea is put the variable name inside the html string.</p>
  <pre><code> string name = &quot;mario&quot;;
  </code></pre>
  <pre><code> var html = @&quot;&lt;table style=&quot;&quot;height: 171px; margin - left: auto; margin - right: auto;&quot;&quot; border=&quot;&quot;1&quot;&quot; width=&quot;&quot;676&quot;&quot;&gt;
                             &lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;&quot;width: 225px;&quot;&quot;&gt;name&lt;/td&gt;
                             &lt;td style=&quot;&quot;width: 225px;&quot;&quot;&gt;2&lt;/td&gt; &lt;td style=&quot;&quot;width: 225px;&quot;&quot;&gt;3&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;
                             &lt;td style=&quot;&quot;width: 225px;&quot;&quot;&gt;4&lt;/td&gt; &lt;td style=&quot;&quot;width: 225px;&quot;&quot;&gt;5&lt;/td&gt; &lt;td style=&quot;&quot;width: 225px;&quot;&quot;&gt;6&lt;/td&gt;&lt;/tr&gt;
                              &lt;/tbody&gt;&lt;/table&gt;&quot;;
  </code></pre>