Created
January 12, 2019 00:11
-
-
Save zaccharles/e29c5646b3880479daf229e019c4039c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void Background() | |
{ | |
var count = 0; | |
var stopwatch = new System.Diagnostics.Stopwatch(); | |
while(true) | |
{ | |
stopwatch.Restart(); | |
Thread.Sleep(1000); | |
Console.WriteLine($"{_id} / {count} / {stopwatch.ElapsedMilliseconds}"); | |
count++; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment