C# 怎么将int型转化成datetime型?parameterizedthreadstart

11小时前 (09:24:42)阅读1回复0
lrj
lrj
  • 管理员
  • 注册排名2
  • 经验值302190
  • 级别管理员
  • 主题60438
  • 回复0
楼主
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);

C# 怎么将int型转化成datetime型?parameterizedthreadstart

}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
回帖

C# 怎么将int型转化成datetime型?parameterizedthreadstart 期待您的回复!

取消