An example called several methods like this:
metodo1();
metodos2();
//el siguiente metodo quiero que espere 2 segundos antes de llamarlo y que continue con la ejecucion
metodos4();
//termina la llamada de metodos.
An example called several methods like this:
metodo1();
metodos2();
//el siguiente metodo quiero que espere 2 segundos antes de llamarlo y que continue con la ejecucion
metodos4();
//termina la llamada de metodos.
You can achieve this by sleeping your thread for the amount of time you need between calls, using the method , to which you pass the number of milliseconds the thread
Thread.Sleep()
should sleep , for example: