Can I do something like that in order to wait, for example 5 seconds, before continue with other method and without freeze my UI ?
System.Threading.Tasks.Task.Factory.StartNew(() =>
{
System.Threading.Thread.Sleep(5000);
// Code to do some method
});