Click here to Skip to main content
15,916,293 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Guys,

this is not really a direct question, but a question that I would like to be well informed before basing my tests on it.
I am intending to generate pseudo-random numbers, which I'm researching the best seed to feed the Random function. 've seen on the net there are several seeds, but I want some that provide a good academic support, which has been widely used over time and is still considered the best.
I want to know these methods, and want to see information for n addition function, ie, if there is proven documentation of who created these methods, the strengths that were taken into account, etc..

I would also say that I found out about create the seed this way: Datetime.Now.Ticks;
was wondering if this tick gives me a great support to feed my random, among other useful information. what I also basically are opinions of those who work and have worked with these functions to generate pseudo-random numbers.

I would appreciate a clarification.
Posted

1 solution

The ticks approach is not pseudo-random. It is truly random, at least is you start your application manually (not from some script). Yes, this is a good seed, why not?

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900