sawbona / morelinq

Automatically exported from code.google.com/p/morelinq
Apache License 2.0
0 stars 0 forks source link

Create "RandomElement" method #20

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We should have an extension method with returns a random element from the 
sequence.

See http://stackoverflow.com/questions/648196/random-row-from-
linq/648240#648240 for sample code.

Original issue reported on code.google.com by jonathan.skeet on 15 Mar 2009 at 6:08