The IRandom.Next(int minValue, int maxValue) and IRandom.Next(int maxValue) methods never return maxValue but only values less than it. So the word “max” could mislead users. I suggest to find a more concise word to indicate that a number is chosen in a half-open interval.
The text was updated successfully, but these errors were encountered:
On Oct 1, 2019 18:03 +0900, Pierre Bouillon ***@***.***>, wrote:
Hi ! May I take this issue ? I would suggest IRandom.Next(int lowerBound, int upperBound) (along with a propper XML documentation)
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.