title: Adding and Removing Anonymous Event Handler
body: <p>I was wondering if this actually worked ?</p>
  
  <pre><code>private void RegisterKeyChanged(T item) 
  {
      item.OnKeyChanged += (o, k) =&gt; ChangeItemKey((T)o, k);
  }
  
  private void UnRegisterKeyChanged(T item) 
  {
      item.OnKeyChanged -= (o, k) =&gt; ChangeItemKey((T)o, k);
  }
  </code></pre>
  
  <p>How does the compiler know that the event handlers are the same ? Is this even recommended?</p>