title: Is there an advantage to USING vs. declaring a context variable?
body: <p>These two snippets do the same thing - is there one that's better than the other, or is it just a matter of preference?</p>
  
  <pre><code>Using context As MyDatabaseDataContext = New MyDatabaseDataContext()
      Dim test = context.Employees.Count
  End Using
  </code></pre>
  
  <p>vs.</p>
  
  <pre><code>Dim context As MyDatabaseDataContext = New MyDatabaseDataContext()
  Dim test = context.Employees.Count
  </code></pre>
  
  <p>I realize these are oversimplified examples - what are the scenarios where one one method would work better than the other?</p>