Linq - Random Elements code example Example: Linq - Random Elements var rnd = new Random(); var SelectedPost = q.OrderBy(x => rnd.Next()).Take(1);