title: Build hardcoded json string from input parameters
body: <p>I´m trying to build a hardcoded json string with input parameters in method, but it seems that it doesn´t work. Am I doing wrong here?</p>
  
  <pre><code>public string Test(string name, string age) 
  {
      string jsonData = @"{
        ""Name"":""' + name +'"",
        ""Age"":""' + age + '""     
      }";
  
      return jsonData;
  }
  </code></pre>
  
  <p>Normally i would use Json.Net but i wonder if there is a way to do it like this. The reason is that i would only use it only in tests and dont want so spend some hours to create objects or anonymous objects to get this json. As someone stated, this is only mocking data. </p>