title: C# - Create an EventHandler that can take any number of parameters
body: <p>I wish to create a custom EventHandler that can have any number of objects as its parameters and the objects it gets isn't known in advance.</p>
  
  <p>I know I can pass it an Object[] but what I would like is something similar to</p>
  
  <pre><code>MyEventHandler someCustomEvent(Object obj1, Object obj2, Object obj3)
  </code></pre>
  
  <p>where the number of objects can be 0 or 10 if needed.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>So thanks to the comments and answers I've got I've come to this,</p>
  
  <pre><code>public class FinishedEventArgs : EventArgs {
              public Object[] Args{ get; set; }
          }
  
  protected void OnFinished(params Object[] args) {
              if(this.Finished != null) {
                  this.Finished(this, new FinishedEventArgs() {
                      Args = args
                  });
              }
          }
  </code></pre>
  
  <p>Does it look acceptable?</p>