asp.net类似于js中的setTimeOut()的函数作用?
插入这行即可,定时2秒,再运行下一步;
System.Threading.Thread.Sleep(2000);
加个随机数
Random ran = new Random();
int RandKey = ran.Next(500, 2000);
System.Threading.Thread.Sleep(RandKey);
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/119277.html原文链接:https://javaforall.cn