我需要一个快速算法从通用列表中选择5个随机元素.例如,我想从a获得5个随机元素List<string>.
List<string>
c# random algorithm collections element
algorithm ×1
c# ×1
collections ×1
element ×1
random ×1