title: Closing SqlConnection and SqlCommand c#
body: <p>In my DAL I write queries like this:</p>
  
  <pre><code>using(SQLConnection conn = "connection string here")
  {
      SQLCommand cmd = new ("sql query", conn);
      // execute it blah blah
  }
  </code></pre>
  
  <p>Now it just occurred to me that I am not explicitly closing the SQLCommand object. Now I know the 'using' block will take care of the SQLConnection object, but will this also take care of the SQLCommand object? If not than I have a serious problem. I would have to put in the 'using' on the SQLCommand on thousands and thousands of lines of code or do a cmd.Close() on hundreds of methods. Please tell me that if putting in the using or closing the command will provide a better memory management of the web app?</p>