Hello,

I have a very simple application that I want to display counts on a textbox. The problem is that the counter freezes the entire program and it only shows the last count. So I want to count from 0 to 100 incrementally with a delay of 250ms per count and display as it counts on the text box. 0...1...2...3......100 etc

Code:
        private void count()
        {

            for (int i = 0; i < 101; i++)
            {

                textBox3.Text = i.ToString();
                Thread.Sleep(50);

            }
                
        }