/// <summary> /// for te sake of the coding question , I put this method but , if you really beind the sence /// we are using the impmentation of INumberGenerator /// </summary> /// <returns></returns> public int GetRandom2s1s() { return(_collectionGenerator.NextNumber()); }