示例1:获取程序运行时间 技术 设置时间戳 实现 public void ProgramRTime() { long tiem = DateTime.Now.ToFileTime();//相当于时间戳 int i = 0; while (i < 10000<