vendredi 16 avril 2021

How does DateTime.Now.Ticks(); works?

I am little bit confuse on how does DateTime.Now.Ticks(); actually works and it seems to me that I find it hard to understand it in documenations.

So, I used this DateTime.Now.Ticks(); to generate a random value but I don't really get how this things works.

Random rand = new Random((int)DateTime.Now.Ticks);




Aucun commentaire:

Enregistrer un commentaire