title: how can convert var to List c#
body: <p>I would like to convert var to list value . I am getting 'myobj' var value. Now how can i convert to CandidateResume list ?.</p>
  
  <pre><code> JavaScriptSerializer jsSerializer = new JavaScriptSerializer() { MaxJsonLength = 86753090 };
   var myobj = jsSerializer.Deserialize&lt;List&lt;List&lt;CandidateResume&gt;&gt;&gt;(description);
  </code></pre>
  
  <p>My CandidateResume class like this </p>
  
  <pre><code>public class CandidateResume
          {
  
              public string name { get; set; }
              public string url { get; set; }
              public string summary { get; set; }
              public string role { get; set; }
              public string compensation { get; set; }
              public string education { get; set; }
              public string expertise { get; set; }
              public string years { get; set; }
              public string relocation { get; set; }
              public string resume { get; set; }
              public string resumeExtension { get; set; }
              public string resumeMimeType { get; set; }
  
          }
  </code></pre>
  
  <p>Please see this current item value in screenshot <img src="https://i.stack.imgur.com/AYXZZ.png" alt="enter image description here"></p>
  
  <p>How can i catch item value ?</p>
  
  <pre><code>     foreach (var item in myobj)
                      {
   WebScrappingCandidate webScrappingCandidate = new WebScrappingCandidate();
  
  }
  </code></pre>