(1)sleep using System.Threading; //导入命名空间,类Thread就在此空间中 Thread.Sleep(2000); //延时2s 参考函数 1. https://blog.csdn.net/friendan/article/details/7350187