Select N random elements from a List in C# October 19, 2022 by Tarik Using linq: YourList.OrderBy(x => rnd.Next()).Take(5)