[Solved] Trying to make a console application run at 20 frames per second [closed]


You don’t want DateTime.Now.Millisecond, you want the total milliseconds:

private static readonly DateTime Epoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);

var totalMilliseconds = DateTime.Now.ToUniversalTime().Subtract(Epoch).TotalMilliseconds

5

solved Trying to make a console application run at 20 frames per second [closed]