Created
September 22, 2016 15:04
-
-
Save pietrom/42ac9092d3d0271ae9d7370fb991f978 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| public static class RandomExtensions { | |
| public static Task Delay(this Random random, int min, int max) { | |
| return Task.Delay(random.Next(min, max)); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment