title: C# Parse A Json File Into A Dynamic Object Containing An Array Of Data?
body: <p>I have copied the following code from an example on csharpcorner.com explaining how to assign JObject.Parse method output to dynamic object and access value as properties of dynamic object.</p>
  <pre><code>string jsonData = @&quot;{
  'FirstName':'Jignesh',
  'LastName':'Trivedi'
  }&quot;;
  dynamic data = JObject.Parse(jsonData);
  
  Console.WriteLine(string.Concat(&quot;Hi &quot;, data.FirstName, &quot; &quot; + data.LastName));
  Console.ReadLine();
  </code></pre>
  <p>My question is how could I accomplish the same thing (Create multiple dynamic objects) using a json file that was an array of data like the following:</p>
  <pre><code>string jsonData = @&quot;{ 'results': [
      'FirstName':'John',
      'LastName':'Smith'
      },
      {
      'FirstName':'Jignesh',
      'LastName':'Trivedi'}
      ]}&quot;;
  </code></pre>