Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed the end number from 2 to 3 in the random #1

Closed
wants to merge 1 commit into from
Closed

Changed the end number from 2 to 3 in the random #1

wants to merge 1 commit into from

Conversation

Nolski
Copy link

@Nolski Nolski commented Oct 29, 2012

The second parameter in random.Next is exclusive. If you want it to generate the numbers 1 or 2 then it must be random.next(1,3)

The second parameter in random.Next is exclusive. If you want it to generate the numbers 1 or 2 then it must be random.next(1,3)
@Nolski Nolski closed this Aug 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant