Does every machine generate same result of random number by using the same seed?

后端 未结 4 1891
独厮守ぢ
独厮守ぢ 2021-01-02 02:15

I\'m current stuck in the random generator. The requirement specification shows a sample like this:

Random rand = new Random(3412);

The ran

4条回答
  •  遥遥无期
    2021-01-02 02:41

    The online provider you tried might use the Mono implementation of the CLR, which is different of the one Microsoft provides. So probably their Random class implementation is a bit different.

提交回复
热议问题