eTime.Now;\rConsole.WriteLine("'yz{|0\rh0getGameTime(startTime,endTime));\rh¡¢/)£¤'¥¤K¦yz{|\r//gameTime=(endTime.Minute*60+\rendTime.Second)-(startTime.Minute*60+\rstartTime.Second);\r//Console.WriteLine("'yz{|h+\rgameTime);\rConsole.WriteLine();\rConsole.WriteLine("J§¨©ª\r¦......h);EvaluationWarning:ThedocumentwascreatedwithSpire.PDFfor.NET.\rConsole.ReadLine();\r///<summary>\r///«¬m\r///</summary>\r///returns«¬m®¯/returns°\rprivatestaticintramdomNo()\r(\rRandomr=newRandom();\rreturnr.Next(1,6);\r)\r///<summary>\r///rsyz{|\rIII</summary>\rIII\rprivatestaticstringgetGameTime(DateTime\rstartTime,DateTimeendTime)EvaluationWarning:ThedocumentwascreatedwithSpire.PDFfor.NET.\rTimeSpantimelength=endTime-startTime;\rreturn\rConvert.ToString(timelength.Minutes*60+\rtimelength.Seconds);