title: How to convert JSON Array to List<>?
body: <p>This is my json and I need to access the values under each object in the attendance array:</p>
  
  <pre><code>{"name":" ","course":"","attendance":[{"name":"INTERNATIONAL FINANCE","type":"Theory","conducted":"55","present":"50"},{"name":"INDIAN CONSTITUTION","type":"Theory","conducted":"6","present":"6"}]}
  </code></pre>
  
  <p>Here is my code:</p>
  
  <pre><code>public class Att
  {
  
      public class Attendance
      {
          public string name { get; set; }
          public string type { get; set; }
          public string conducted { get; set; }
          public string present { get; set; }
      }
  
  
      public Att(string json)
      {
          JObject jObject = JObject.Parse(json);
          JToken jUser = jObject;
  
          name = (string)jUser["name"];
          course = (string)jUser["course"];
          attender = jUser["attendance"].ToList&lt;Attendance&gt;;
  
      }
  
      public string name { get; set; }
      public string course { get; set; }
      public string email { get; set; }
      //public Array attend { get; set; }
  
      public List&lt;Attendance&gt; attender { get; set; }
  }
  </code></pre>
  
  <p>It is the <code>attender = jUser["attendance"].ToList&lt;Attendance&gt;;</code> line that I have a problem with. It says,</p>
  
  <blockquote>
    <p>Cannot convert method group ToList to non-delegate type. Did you intend to invoke this method?</p>
  </blockquote>
  
  <p>How do I access those values?</p>