Пример #1
0
        public TriviaQuestion GetRandomQuestion(IEnumerable <TriviaQuestion> exclude)
        {
            var list = pool.Except(exclude).ToList();
            var rand = rng.Next(0, list.Count);

            return(list[rand]);
        }