跳到主要内容

Class IListExtension

Methods

Random<T>(IList<T> self)

Selects a random element from the specified list.

public static T Random<T>(IList<T> self)