title: "Clearing" all chained methods in delegate c#
body: <p>I have a situation where I need to chain methods to a delegate D using the anonymous method syntax (<code>D += delegate(...){}</code>). However I need to make sure that other chained methods are removed before adding a new one.</p>
  
  <p>I know I can do something like D -= a, D += b, but since I'm using an anonymous method, I'm not sure whether the <code>-=</code> will work (since I don't have an explicit name.).</p>
  
  <p>If my reasoning is correct is there a way I can remove all chained methods using the anonymous syntax ?</p>
  
  <p>Thanks in advance.</p>