Why does Random.Next() always return the same number [duplicate]
You’re always seeding a new instance with the same seed, and then grabbing the first max. By using a Seed, you’re guaranteeing the same results. If you want to have a static, random number generation that does different results, you should rework this a bit. However, since Random is not threadsafe, it requires some synchronization … Read more