C#C
C#4y ago
Dusty

Generating random numbers (int32) [Answered]

As you may know Guid.NewGuid() returns a 128bit random "number" which is very unlikely to get duplicates of.
I need the same behaviour for 32 bit numbers, what's the best way to achieve that? To just use plain old Random#Next() ? Or use Guid#GetHashCode() ?
Was this page helpful?