C# 怎么将int型转化成datetime型?parameterizedthreadstart
publicclassTime{staticvoidMain(){Threadth=newThread(newParameterizedThreadStart(starts));inti=int.Parse(Console.ReadLine());th.Start(i);
C#怎么将Int型转化成DateTime型?
PublicclassTime{staticvoidMain(){Threadth=newThread(newParameterizedThreadStart(starts));inti=int.Parse(Console.ReadLine());th.Start(i);
}publicstaticvoidstarts(objecti){intp=int.Parse(i.ToString());p=p*1000;while(p>;0){Console.WriteLine(p/1000/60+";:";+p/1000%60+";:";+p%100);Thread.Sleep(1);p--;}}}//C#时间转化
0