asp.net类似于js中的setTimeOut()的函数作用?

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://www.cnblogs.com/qianduan/p/11792334.html