title: how to convert IEnumerable<JToken> to JArray
body: <p>I'm using LINQ over a <code>JArray</code> to filter out the items based on a particular condition and want that result in a separate <code>JArray</code>.</p>
  
  <pre><code>JArray arrSameClass = (JArray) arrPupilEmailDetails.Where(joSameClass =&gt; joSameClass["uClassId"].ToString() == gidClassId.ToString());
  </code></pre>
  
  <p>But this is giving me an casting exception(<code>'unable to cast from IEnumerable&lt;JToken&gt; to JArray'</code>). I've tried <code>JArray.Parse()</code> also. Any help ?</p>