title: creat eventHandler for label array element
body: <p>I was wondering how am I supposed to assign an eventHandler for each array element in my label array. I understand that it's not possible to create a method for each of eventHandlers, so what could be the solution? Thank you!</p>
  
  <pre><code>for(int i = 0, i &lt; 10; i++)
  {
      lbs[i] = new Label();
      lbs[i].Location = new System.Drawing.Point(76 + f, 164);
      lbs[i].Size = new System.Drawing.Size(49, 17);
      //able to perform this, but wont able to create a method for this
      lbs[i].Click += new System.EventHandler(lbs[i]_Click);
  }
  
  //can't do this, what is alternative?
  public void lbs[i]_Click(object sender, EventArgs e)
  {
  
  }
  </code></pre>