random int between two numbers c# code example
Example 1: generate a random number in c#
Random rnd = new Random();
int value = rnd.Next(min,max);
Console.Write(value);
Example 2: c# two different random numbers
Random random = new Random();
int randomNumber1 = random.Next(0, 300);
int randomNumber2 = random.Next(0, 300);
//...