public List <T> Generate(int count)
        {
            var list = new List <T>(count);

            for (int i = 0; i < count; i++)
            {
                int index = _randomValueGenerator.Next(0, _list.Length - 1);
                list.Add(_list[index]);
            }

            return(list);
        }
 public T Generate()
 {
     return(_randomValueGenerator.Next(_min, _max));
 }
 public T Generate()
 {
     return(_list.Length > 0 ? _list[RandomValueGenerator.Next(0, _list.Length)] : default(T));
 }