Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# list shuffle

var rnd = new Random();
var randomized = list.OrderBy(item => rnd.Next());

Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #list #shuffle
ADD COMMENT
Topic
Name
1+2 =