ThreadSafeRandomizer An efficient thread-safe randomizer. Installation The recommended means is to use NuGet, but you could also download the source code from here. Usage Replace: var random = new Random(); var myNum = random.Next(); With: var myNum = ThreadSafeRandom.Instance.Next();