I know that Object.GetHashCode can return different values for the same object (an identical string, for example) depending on the platform. I thus can't rely on this for a cross-platform simple hash.
But can I rely on System.Random? Will it produce the same results for a given seed regardless of whether or not I'm on Microsoft .NET / Mono / x86 / x64, etc.?
Aucun commentaire:
Enregistrer un commentaire