title: change the label.text in C#
body: <p>I am a newbie with C#. I am trying to show how much times the button is clicked, here is my code below:</p>
  
  <pre><code>private void ClickMebutton_Click(object sender, EventArgs e)
  {
        int i = 0;     
        while (true)    
         {              
           label1.Text = i.ToString();
           i += 1;   
         }
  }
  </code></pre>
  
  <p>code runs fine, but label.text is not changing when I clicked the button. I also cannot identify any problem by using break points.
  Can anyone please help me out?</p>