jeudi 5 mars 2015

Random values in F#

I have F# code something like this:



let ran = new System.Random()
let makeVal = ran.NextDouble()


Why when I use makeVal do I get the same random number on every call within one run of the app session (i.e. it's not a seed issue).





Aucun commentaire:

Enregistrer un commentaire