title: How to dispose a SQL connection in c# in a best way?
body: <p>I have disposed of my <code>SqlConnection</code> this way:</p>
  
  <pre><code>sqlcon.open();
  sqlcom.ExecuteNonQuery();
  sqlcom.close();
  </code></pre>
  
  <p>but I am not satisfied with this way of disposing it.</p>