Check out example codes for "c# pick a random item from array". It will help you in understanding the concepts better.

Code Example 1

string[] names = new string[] { "name1", "name2", "name3" };
Random rnd = new Random();
int index = rnd.Next(names.Length);
Console.WriteLine($"Name: {names[index]}");

Code Example 2

list[Random.Range(0, list.Count)];

Learn ReactJs, React Native from akashmittal.com