Random random = new Random();
int value = random.Next(0, array.Length);
Console.Write(array[value]);
string[] names = new string[] { "name1", "name2", "name3" };
Random rnd = new Random();
int index = rnd.Next(names.Length);
Console.WriteLine($"Name: {names[index]}");
Object[] obj = { "this", "that", "those" };
Random rn = new Random();
Object ob = rn.Next(0, obj.Length);
Random random = new Random();
int value = random.Next(0, array.Length);
Console.Write(array[value]);