At first between xmin, xmax a random number x . And then between xmin, x is a random number to find another with C #
Random r = new Random(); for (int i = 0; i < int.Parse(popsizetxt.Text); i++) { x = r.Next(Int32.Parse(xmin.Text), Int32.Parse(xmax.Text)) + r.NextDouble(); x = r.Next(Int32.Parse(xmin.Text), Int32.Parse(xmax.Text)) + r.Next();
I'm working on a thesis project
Random.Next()
Random.NextDouble()
Random
Random.Next(int, int)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)