title: Implement Dispose or Finalize?
body: <pre><code>Class ComponentsContainer   ' a component contains other components'
      Inherits System.ComponentModel.Component
  
      Private foo as New Component
      Private bar as New Component
  
  Protected Override Sub Finalize()
      foo.Dispose()  ' HERE ? '
      bar.Dispose()
      MyBase.Finalize()
  End Sub
  
  Protected Overrides Sub Dispose(disposing As Boolean)
      If disposing Then
          foo.Dispose() ' OR HERE ? '
          bar.Dispose()
      End If
      MyBase.Dispose(disposing)
  End Sub 
  End Class
  </code></pre>