/// <summary> /// Choose a random object. /// </summary> /// <param name="theGenerator">Random number generator.</param> /// <returns>The random choice.</returns> public T Pick(IGenerateRandom theGenerator) { int index = _chooser.Generate(theGenerator); return(_list[index].Obj); }