title: Add Arrays of C# button Click in code in Run Time
body: <p>To create Button and its click event in run time I use:</p>
  
  <pre><code>Button b = new Button();
  b.Name = "btn1";
  b.Click += btn1_Click;
  </code></pre>
  
  <p>But now I have an array of Buttons to create in run time; how to set each button's event - I cannot interpolate because it's not a string.</p>
  
  <pre><code>Button[] b = new Button(Count);
  for (int i=0; i &lt; Count; i++)
  {
    b[i] = new Button();
    b[i].Name = "btn" + i;
    b[i].Click += ??????
  }
  </code></pre>
  
  <p>what should I do for "?????"</p>