This article has been removed.
Here are some related articles:
How do I Generate Random Number in C#?
Generating Random Number and String in C#
Random isn't Really Random - C# Random Number Generation
This article has been removed.
Here are some related articles:
How do I Generate Random Number in C#?
Generating Random Number and String in C#
Random isn't Really Random - C# Random Number Generation
Join the conversation! Your thoughts help the community grow.
Join to leave a comment
Members earn 10 SHARP for a comment, 10 SHARP for a reaction, and 1,000 SHARP for every article they publish.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterMembers onlyeBook · C#Modern CSharp Mastery - Advanced Guide for Experienced DevelopersDownload nowWrite an article and earn +1,000 SHARP when it is approved.
Write an article
Serban CosminPosted Oct 15, 2009, 11:56 AM EDT
The issue with the Random class is that it generates pseudo-random numbers, which are not exactly random, but uniformly distributed enough to be used for practical purposes. These random numbers are generated using a well defined mathematical algorithm. It is important to seed the random with the number of ticks to avoid obtaining similar sequences.