title: C# change label text when button clicked multiple times
body: <p>Sorry I am new to this just wondering if someone can help, I am trying to get my label to change its text every time I click the button. Not sure how I should go about it. Can anyone help me please.</p>
  
  <pre><code>private void button1_Click(object sender, EventArgs e)
      {  
          string[] MonthName;
          MonthName = new string[12];
  
          MonthName[0] = "January";
          MonthName[1] = "February";
          MonthName[2] = "March";
          MonthName[3] = "April";
          MonthName[4] = "May";
          MonthName[5] = "June";
          MonthName[6] = "July";
          MonthName[7] = "August";
          MonthName[8] = "September";
          MonthName[9] = "October";
          MonthName[10] = "November";
          MonthName[11] = "December";
  
  
              label1.Text = (MonthName[0]);
              label1.Text = (MonthName[1]);   
  </code></pre>