Please suggest an easiest way to get a random shuffled collection of count 'n' from a collection having 'N' items. where n <= N
Sorry for ugly code :-), but
var result =yourCollection.OrderBy(p => (p.GetHashCode().ToString() + Guid.NewGuid().ToString()).GetHashCode()).Take(n);