The collection has not been initialized
<p>I am trying to retrieve all items from a Sharepoint library with <code>CSOM</code> and create a list of it. I am sure it has something to do with the order of the code. The question is how?</p>

<pre><code>ListItemCollection collListItem = oList.GetItems(camlQuery);
var newList = new List&lt;Item&gt;();
var items = oList.GetItems(camlQuery);
context.Load(collListItem);

context.ExecuteQuery();

foreach (var col in items)
{

    newList.Add(new Item()
    {
        ID = Convert.ToInt32(col["ID"]),

    });
}
</code></pre>

<p>I get the following error:</p>

<blockquote>
  <p>The collection has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested</p>
</blockquote>