Reputation: 10805
How does System.Guid.NewGuid()
know that the values it generates are unique, for example when i use in a loop?
Does it internally store data somewhere? .
Upvotes: 1
Views: 623
Reputation: 36421
No, it uses pseudo-random numbers. See the description of the algorithm at Wikipedia.
Upvotes: 1