c# 统计运行时间 long startTime = Environment.TickCount; long endTime = Environment.TickCount; long totalTime = endTime - startTime;