问题:
What is the best way to randomize the order of a generic list in C#? 在C#中随机化泛型列表顺序的最佳方法是什么? I've got a finite set of 75 numbers in a list I would like to assign a random order to, in order to draw them for a lottery type application. 为了给彩票类型的应用程序绘制一个数字,我想分配一个随机顺序的列表中有75个数字的有限集合。
解决方案:
参考一: https://stackoom.com/question/196H/随机列表-T参考二: https://oldbug.net/q/196H/Randomize-a-List-T
来源:oschina
链接:https://my.oschina.net/u/4428122/blog/4327046