title: Convert List<string> to JSON using C# and Newtonsoft
body: <p>I have a List that I would like to convert to JSON using C# and Newtonsoft.</p>
  
  <p>tags</p>
  
  <pre><code>[0]: "foo"
  [1]: "bar"
  </code></pre>
  
  <p>Output to be:-</p>
  
  <pre><code>{"tags": ["foo", "bar"]}
  </code></pre>
  
  <p>Can anybody point me in the right direction please? I can convert the List to JSON okay but they key thing here is I need the "tags" part in the JSON which I do not get with a convert using <code>JsonConvert.SerializeObject(tags)</code>.</p>