C# random value in array 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]);