title: In vb.net, if I use AddHandler, Do I have to use RemoveHandler?
body: <p>If I always need to call RemoveHandler after using AddHandler, where is the best place to do so?</p>
  
  <p>I have searched several similar questions as follows, but I do not quite understand. </p>
  
  <p><a href="https://stackoverflow.com/questions/2721239/when-and-where-to-call-the-removehandler-in-vb-net">When and where to call the RemoveHandler in VB.NET?</a></p>
  
  <p><a href="https://stackoverflow.com/questions/151303/addhandler-removehandler-not-disposing-correctly">AddHandler/RemoveHandler Not Disposing Correctly</a></p>
  
  <p>I thought garbage collection in c# or vb.net will take care of unused objects. Also, in vb.net designer, it automatically generates Dispose Sub. So I did not pay attention to programally releasing resource at all. Will I have any memory leak problems? Please kindly provide me some links/documents for me to start learning.</p>
  
  <pre><code>Protected Overrides Sub Dispose(ByVal disposing As Boolean)
      Try
          If disposing AndAlso components IsNot Nothing Then
              components.Dispose()
          End If
      Finally
          MyBase.Dispose(disposing)
      End Try
  End Sub
  </code></pre>
  
  <p>Thanks a lot!</p>