title: how to insert (C#) variables in xml
body: <p>if i were to say create a function:</p>
  
  <pre><code>public static string createProduct(string pName, decimal pPrice)
  {string postData = @"&lt;?xml version=""1.0"" encoding=""UTF-8""?
                       &lt;product&gt;
                           &lt;name&gt;?&lt;/name&gt;
                           &lt;price&gt;?&lt;/price&gt;
                       &lt;/product&gt;";
  ....some other codes...}
  </code></pre>
  
  <p>i have tried googling it but have not found any clear answer...
  and sorry i'm kinda new to xml and c#, so how do i insert pName and pPrice into xml without upsetting visual studio?</p>
  
  <p>would really appreciate help from you guys...tia! </p>