I have a table called Quotes in linq-to-sql that contains 2 columns: author and quote. How do you select both columns of a random row?
I did it something like this:
list.ElementAt(rand.Next(list.Count());
I stuck a bunch of random operations, including select and shuffle, as extension methods. This makes them available just like all the other collection extension methods.
You can see my code in the article Extending LINQ with Random Operations.