title: C# removing an event handler
body: <p>I've been doing this for a while, but I haven't noticed that I've been using a <code>new</code> each time I remove an event handler. Am I supposed to be creating a new object?</p>
  
  <p>Basically is there a difference between 1 and 2?</p>
  
  <ol>
  <li><p><code>ethernetdevice.PcapOnPacketArrival -= new SharpPcap.PacketArrivalEvent(ArrivalResponseHandler);</code></p></li>
  <li><p><code>ethernetdevice.PcapOnPacketArrival -= ArrivalResponseHandler;</code></p></li>
  </ol>
  
  <p><strong>EDIT:</strong>
  Okay this is a duplicate. Sorry about that.
  Answer posted <a href="https://stackoverflow.com/questions/1307607/removing-event-handlers">here</a>.</p>
  
  <p>Two delegates of the same type with the same targets, methods, and invocation lists are considered equal.</p>