how to do I make my code pick out a random word from my array in c# code example
Example: c# pick a random item from array
string[] names = new string[] { "name1", "name2", "name3" };
Random rnd = new Random();
int index = rnd.Next(names.Length);
Console.WriteLine($"Name: {names[index]}");