title: String format Error "input string was not in a correct format."
body: <p>I am getting this error with the following line of code,</p>
  
  <pre><code>int numberStored = 9;
  record.VALUE = string.Format("{\"FIELDS\":[{\"ELEMENT_ID\":\"275887826\",\"VALUE\":\"{0}\"}]}", numberStored.ToString(), 0);
  </code></pre>
  
  <p>This works fine if i substitute out {0} and place the 9 in directly, but obviously I don't want it hard coded like this. The previous answers I can see for this problem do not seem to be helping me.</p>