2

Closed

Random data sources missing last item

description

Random data sources are missing the last item of the internal arrays caused by index generation from Random.Next(int min, int max).

Rand.Next(int, int) returns range from min to max-1 by itself.
http://msdn.microsoft.com/en-us/library/2dx6wyd4.aspx

Seen on
  • CountrySource
  • FirstNameSource
  • LastNameSource
  • UsStatesSource
Closed Feb 3, 2011 at 2:37 PM by robashton
Fixed

comments

robashton wrote Jan 20, 2011 at 10:36 AM

Woops

robashton wrote Feb 3, 2011 at 2:36 PM

Fixed