title: Do event handlers stop garbage collection from occurring?
body: <p>If I have the following code:</p>
  
  <pre><code>MyClass pClass = new MyClass();
  pClass.MyEvent += MyFunction;
  pClass = null;
  </code></pre>
  
  <p>Will pClass be garbage collected? Or will it hang around still firing its events whenever they occur? Will I need to do the following in order to allow garbage collection?</p>
  
  <pre><code>MyClass pClass = new MyClass();
  pClass.MyEvent += MyFunction;
  pClass.MyEvent -= MyFunction;
  pClass = null;
  </code></pre>