title: Pass a delegate itself as a parameter
body: <p>Is it possible in C# to pass a delegate or event to a method so that the method can assign a new event handler to that delegate with <code>+=</code> (and not so that the method can call the delegate)?</p>
  
  <p>Lets say I can mix C++ with C#. This would be what I'm looking for:</p>
  
  <pre><code>public class MyClass
  {
      public Action* actionPtr;
  
      public void Assign(Action* action)
      {
          actionPtr = action;
          (*action) += SomeMethod;
      }
  
      public void Unassign()
      {
          (*action) -= SomeMethod;
      }
  
      void SomeMethod()
      {
          // Do stuff
      }
  }
  </code></pre>
  
  <p>Hope it makes sense.</p>