title: Why is the global string getting empty at every call?
body: <p>Take a look at this code.</p>
  
  <pre><code> Label lb=new Label();
   string prev="val";
   protected void Button3_Click(object sender, EventArgs e)
   {
      prev = "temp";
      lbl.ID =prev;
      lbl.Text =prev;
      Panel1.Controls.Add(lbl);
   }
  </code></pre>
  
  <p>I had break point at start of <strong>button3</strong> event. I see that the value in prev again changed to <em>'val'</em> everytime the button event is fired. Isn't it has to be <em>'temp'</em>?</p>