There's a class named Random, which returns a pseudo-random number. It's not very good, as it will repeat itself. If you want truly random numbers, use the RNGCryptoServiceProvider class in System.Security.Cryptography namespace.
Chip H.
____________________________________________________________________ If you want to get the best response to a question, please read FAQ222-2244 first
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.