Is the probability of Random.Next() to return x the next time it’s called lower than its probability of returning y if it has just returned x?
Is the probability of Random.Next() to return x the next time it’s called lower
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, if for example the number 5 is returned from your random call, the probability that 5 is chosen again is the same as any number within your range.
It helps somewhat to understand that random distribution is different from regular distribution. Random distribution tends to create clusters of similar data, and is often not as regular as you might expect.