public object Generate() { var returnValue = new List <int>(); var intGenerator = new IntGenerator(); const int amount = 5; for (var i = 0; i < amount; i++) { returnValue.Add((int)intGenerator.Generate()); } return(returnValue); }
public object Generate() { var intGenerator = new IntGenerator(); return((long)intGenerator.Generate()); }
public object Generate() { var intGenerator = new IntGenerator(); return(((int)intGenerator.Generate() >= 0) ? true : false); }