DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
Linq - Random Elements
var rnd = new Random(); var SelectedPost = q.OrderBy(x => rnd.Next()).Take(1);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#Linq
#Random
#Elements
ADD COMMENT
Topic
COMMENT
Name
7+9 =
Submit