using System.Collections.Generic;
public static void Main()
var listaPessoas = Pessoa.Factory();
Random rnd = new Random();
listaPessoas = listaPessoas.OrderBy(p => rnd.Next()).Take(3).ToList();
foreach(var p in listaPessoas)
Console.WriteLine(p.Nome);
public string Nome { get; set; }
public static List<Pessoa> Factory()
new Pessoa { Nome = "1" },
new Pessoa { Nome = "1a" },
new Pessoa { Nome = "1s" },
new Pessoa { Nome = "1bv" },
new Pessoa { Nome = "1ssd" }