title: CookieContainer confusion
body: <p>From what I understand, the basic use of the CookieContainer to persist cookies through HttpWebRequests is as follows:</p>
  
  <pre><code>HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
  CookieContainer cookies = new CookieContainer();
  request.CookieContainer = cookies;
  using (HttpWebResponse response = (HttpWebResponse)request.GetResponse())
  {
    // Do stuff with response
  }
  </code></pre>
  
  <p>then:</p>
  
  <pre><code>request = (HttpWebRequest)WebRequest.Create(new url);
  request.CookieContainer = cookies;
  etc...
  </code></pre>
  
  <p>But I'm having trouble understanding the logic behind this process. The variable cookies doesn't seem to have been reassigned anywhere after its initialization. How exactly do the cookies from the first WebResponse carry into the second WebRequest?</p>