How code a time delay before the next method is called? I have the following but I don't think it's waiting 10 seconds before calling CallMethod().Thread.Sleep(10000);CallMethod(); ...