<p>I have a delegate, say:</p>

<pre><code>public delegate void MyDelegate();
</code></pre>

<p>I have an event, say:</p>

<pre><code>public MyDelegate MyEvent;
</code></pre>

<p>While invoking the event I am receiving an error message:</p>

<blockquote>
  <p>"MyEvent += expected ....."</p>
</blockquote>

<p>How do I resolve this?</p>

You can only invoke the event from within the class where you declared it. In any other place, you can only add or remove handlers from the event delegate via the operators
```
+=
```
and
```
-=
```
, hence the error message.