我正在阅读MSDN杂志上关于在LINQ中使用Enumerable类生成随机数组的文章.本文使用VB.NET,我不能立即确定C#中的等价物是什么:
Dim rnd As New System.Random() Dim numbers = Enumerable.Range(1, 100). _ OrderBy(Function() rnd.Next)
c# linq vb.net enumerable
c# ×1
enumerable ×1
linq ×1
vb.net ×1