using System;
using System.Linq;
public class Program
{
public static void Main()
var foo = new[]{ "A", "B", "C"};
var ran =new Random();
var res = ran.Next(3);
Console.WriteLine(ran);
//Always same result
Console.WriteLine(foo.OrderBy(x => ran).First());
//Different result
Console.WriteLine(foo.OrderBy(x => new Random().Next(3)).First());
}