Hello,
I want the sentences to change automatically every second while program running. I tried but need help
For example;
1- Hello,
2- My name is
3- Max
"This will change automatically" = label1.content
"Hello," = label1.content
"My name is" = label1.content
Like this one but specific sentences.
"Test8" = label1
var length = 1000; Task.Run(() => { for (int i = 0; i <= length; i++) { Application.Current.Dispatcher.BeginInvoke(new Action(() => { label1.Content = "Test" + i; }), DispatcherPriority.Render); Thread.Sleep(100); } });