title: C# event with custom arguments
body: <p>I want to have an event that takes an enum only as the argument. For example</p>
  
  <pre><code>public enum MyEvents{
     Event1
  }
  
  // how do I declare this to take enum MyEvents as argument
  public static event EventHandler EventTriggered;
  
  public static void Trigger(MyEvent event )
  {
      if (EventTriggered != null)
      {
          EventTriggered(event);
      }
  }
  </code></pre>