I want that when the button is pressed, two numbers one are displayed with an interval of half a second in textbox
But if you do everything as in my example, both numbers are displayed simultaneously in half a second
private void Button_Click(object sender, RoutedEventArgs e)
{
Checker.Text += "1";
System.Threading.Thread.Sleep(500);
Checker.Text += "1";
}
The same will happen with any loop inside any event handler