dimanche 3 février 2019

C# || How can i generate a random number between 0 and ulong.MaxValue with the best performance [duplicate]

This question already has an answer here:

I am trying to give "Unique IDs" and using Ints its "risky" so im using Ulongs. Now...

How could I generate a value between 0 and ulong.max ?

Should be pretty easy...right?

One line of code?




Aucun commentaire:

Enregistrer un commentaire