I wanted to display an array of strings in a label and every second one word should show up and after one second the next. I think this code does the job but the label does not refresh until the for loop is completed. Can anyone help me pls?
string[] listOfWords = RemoveCharacters(enteredText);
for (int i = 0; i < listOfWords.Length; i++)
{
word.Content = listOfWords[i];
Thread.Sleep(1000);
}