Пример #1
0
    public static T GetRandom(IList <T> items)
    {
        Randomizer <T> randomizer = new Randomizer <T>();

        randomizer.AddItems(items);
        return(randomizer.GetRandom());
    }