Full refund within 14 days of purchase date.
If you work with the Random class provided with the .NET framework, you will notice that if you initializes two objects with the same seed you will get the same random series.
This pseudo-random number generator not only avoids this unwanted behavior, also offers a better randomness
Just add the file JCRandom.vb into your project.
' Initializes a new instance.
dim r as new JCRandom()
' Returns a random number between 0.0 and 1.0.
r.NextDouble()
' Returns a random Int32.
r.Next()
' Returns a nonnegative random number less than the specified value
r.Next(25)
' Returns a random number within a specified range.
r.Next(100,200)
' Returns a random byte.
r.NextByte()
' Fills the elements of a specified array of bytes with random numbers.
r.NextBytes(buffer)
' Returns a random string created with letters and numbers.
r.NextString(16)
Questions & Comments