title: c# How to insert a variable into a string?
body: <p>I would like to know the different ways of inserting a variable into a string, in C#.</p>
  
  <p>I am currently trying to insert values into a json string that I am building: </p>
  
  <pre><code> Random rnd = new Random();
    int ID = rnd.Next(1, 999);
    string body = @"{""currency"":""country"",""gold"":1,""detail"":""detailid-979095986"",""tId"":""help here""}";
  </code></pre>
  
  <p>How could I add the "ID" to the string body?</p>