I'm trying to count up to 100 displaying the number after each addition. I want it to pause for a second between each calculation. What I get instead is a frozen program for 100 seconds with a final display of 100.
for(int i=1; i <= 100; i++)
{
Thread.Sleep(1000);
forOddOutput.Text = i.ToString();
}