c# - Adding Delay in application (for debugging) -
i'd add delay between 2 lines of code because i'm testing updateprogress template. ideally, one-liner.
thanks.
try sleep method. example:
thread.sleep(3000); //3 seconds you need add using directive:
using system.threading; to access method.
the parameter pass number of milliseconds want suspend current thread.
Comments
Post a Comment