select random item from list c# linq code example
Example: Linq - Random Elements
var rnd = new Random();
var SelectedPost = q.OrderBy(x => rnd.Next()).Take(1);
var rnd = new Random();
var SelectedPost = q.OrderBy(x => rnd.Next()).Take(1);