Answers for "shuffle list of objects c#"

C#
3

c# list shuffle

var rnd = new Random();
var randomized = list.OrderBy(item => rnd.Next());
Posted by: Guest on July-22-2021

C# Answers by Framework

Browse Popular Code Answers by Language