title: Is destroying of the adapter implied when using for connection reaches the end of the scope?
body: <p>I'm running the following code and I'm unsure whether the adapter (and the instance of <em>SqlCommand</em>, which I suspect resides in it) gets properly GCed. Also, I'm a bit unsure how to check it, other than asking on SO.</p>
  
  <pre><code>using (SqlConnection connection = new SqlConnection(...))
  {
    String command = ...
    DataTable output = new DataTable();
    SqlDataAdapter adapter = new SqlDataAdapter(command, connection);
    adapter.Fill(parameters);
  }
  </code></pre>
  
  <p>I'm assuming that closing the connection isn't necessary as it gets killed and destroyed when the scope of its declaration ends. Is that correct or am I missing something sneaky?</p>