Alternatives
Members may post updates or alternatives to this current article in order to show different
approaches or add new features.
This is an alternative to "How to Generate Many Random Various Numbers?"
28 Jan 2011Shahin Khorshidnia 3 alternatives
How to generate many random various numbers?
Found this little peace of code in book and kept it.using System.Security.Cryptography;public static int RandomNumber(int maxvalue){ RandomGenerator random = RandomGenerator.Create(); byte[] r = new byte[1]; random.GetBytes(r); double val = (double)r[0]/byte.MaxValue; ...
Started programming on a Commodore Vic-20 at 6 years old. Never really stopped since then. Fluent in x86 Assembly, C++ (ATL & MFC), C# (ASP.NET/WF/WPF/Silverlight), HTML, & Javascript. Really excited at the fast pace at which new technology is released.