title: Error - event points to NULL c#
body: <p>I'm trying to raisn an event using threadPool in c#.
  Problem is, that it points out to me that the Event points to NULL.</p>
  
  <pre><code>public class ClientView : IView&lt;string&gt;
  {
      event Presenter.func ViewChanged; }
  event Presenter.func IView&lt;string&gt;.ViewChanged
      {  add{}            
         remove{} }
       public void ClientConnection()
      {
          while (true) 
          {
  
              int recv = Client.Receive(data);
              if (recv == 0) break;
              userInput = Encoding.ASCII.GetString(data, 0, recv);
              ViewChanged();   //here it crashes because it's null
          }
          Client.Close();
      }
  
  
  class Presenter {
        private IView&lt;string&gt; view;
        public delegate void func();
        public Presenter(IView&lt;string&gt; view)
      {
          this.options = new Dictionary&lt;string, ICommandable&gt;();
          options.Add("generate", new Option1());
          this.view = view; 
  
          this.view.ViewChanged += delegate ()
          {
              string[] input = view.GetUserInput().Split(' ');
              ThreadPool.QueueUserWorkItem(options[input[0]].execute, input);
          }; }
  </code></pre>
  
  <p>I do not understand why the program crashes. my event ViewChanged does not point to NULL because I added the delegates to it.. no?</p>