title: Do we need to close the System.Net.WebRequest's ResponseStream?
body: <p>I was wondering will I end up having any unclosed streams from this code:</p>
  
  <pre><code>   Public Function [Get](ByVal url As String) As String
          Using reader = New System.IO.StreamReader(System.Net.WebRequest.Create(url).GetResponse.GetResponseStream)
              Return reader.ReadToEnd
          End Using
      End Function
  </code></pre>
  
  <p>What about this:</p>
  
  <pre><code>  Public Function Get2(ByVal url As String) As String
          Using stream = System.Net.WebRequest.Create(url).GetResponse.GetResponseStream
              Using reader = New System.IO.StreamReader(stream)
                  Return reader.ReadToEnd
              End Using
          End Using
      End Function
  </code></pre>
  
  <p>Basically, do we need to close the <code>System.Net.WebRequest</code>'s <code>ResponseStream</code> ?</p>