create a random array length c# code example
Example: random value in array c#
Random random = new Random();
int value = random.Next(0, array.Length);
Console.Write(array[value]);
Random random = new Random();
int value = random.Next(0, array.Length);
Console.Write(array[value]);