title: c# - Convert JSON to array
body: <p>I'm using Newtonsoft JSON.</p>
  
  <pre><code>Newtonsoft.Json.Linq.JArray userLists = Newtonsoft.Json.Linq.JArray.Parse(result)
  MessageBox.Show((string)userLists[0]["name"]);
  </code></pre>
  
  <p>"result" contains:</p>
  
  <blockquote>
    <p>{"response":"1","0":{"id":"1","username":"bla","name":"bla
    "},"1":{"id":"2","username":"blub","name":"blub"}}</p>
  </blockquote>
  
  <p>What's wrong? The messagebox is empty and at index 1 it throws an error.
  Thanks in advance.</p>