I was reading an article on MSDN Magazine about using the Enumerable class in LINQ to generate a random array. The article uses VB.NET and I\'m not immediately sure what the
Best I can do off the top of my head without access to Visual Studio (crosses fingers):
System.Random rnd = New System.Random(); IEnumerable numbers = Enumerable.Range(1, 100).OrderBy(rnd => rnd.Next);